So, as pointed out on The Hunter’s Mark by the kind and talented Larrissa, I really made a festering, sweltering mess of a macro on the WoW Forums.

The problem was to create a macro that would send a pet to attack and recall that pet, all by pressing the same button. I shall not befoul your eyes with the horror that was my macro, needless to say it didn’t work. My apologies to all those who wasted time messing with that offal of a macro.

However, there is a macro that I have devised and tested that sort of does the requested job:

/petfollow [modifier:shift]
/petattack [modifier:ctrl]

Assign this guy to a hotkey, perhaps F4.

If you hit F4 by itself, nothing happens. However, if you hit CTRL-F4, you will send your pet to attack. Then, if you hit SHIFT-F4, your pet will return. I don’t claim that it’s a useful macro, but it does solve the problem and is a nice research project.

Now, lets make a macro that solves a problem of mine. With BRK, I used a simple macro to feed him:

#show Roasted Quail
/cast Feed Pet
/use Roasted Quail

As readers of BRK may know, I am toying around with a Warp Stalker. BRK is a meat eater, while my nameless warp hunter prefers fruits. I want to use the same button to feed whatever pet I have out without having to swap-out macro buttons. We’re going to lose the “show” feature of the previous macro, but add some functionality in its place:

/cast Feed Pet
/use [pet:Cat] Roasted Quail
/use [pet:Warp Stalker] Deep Fried Plantains

And there we have it. A nice macro that will feed the appropriate food to the appropriate pet. Woot!

I use lots of macros in my WoW playing. They deserve a large post of their own, so I’ll save them for later.