I don't quite understand what you're asking for. Are you looking for a macro you can bind to a key to use to target a wild pet INSTEAD of right clicking on them?
Your original post made me think you were looking for a macro that would work WHEN you right-clicked, which made no sense, but then again, I'm tired, so I might be confused.
Why can't you just right click? You run right up to them and start the battle...
Am I missing something?
Edit: I reread, and I think I understand. You want "interact with target"
Which unfortunately is a hard coded keybind, and not a slash command. You'd have to keybind "interact with target" in your keybinds menu. That would start the battle.
Also works for opening dialog with NPC when people have huge mounts on the NPC.
Thaliana#1794 - My WoW account has 50 toons, so I would so greatly appreciate people creating toons on Kael'Thas or Ghostlands to trade with me. <3