How do I specify a target in my macro?

Hello, I am farming Devilsaur Leather in Un’goro in Anniversary edition, and I use a simple macro to tag mobs such as:
#showtooltip
/tar Ironhide Devilsaur
/tar Tyrant Devilsaur
/tar Devilsaur
/cast [pet: Claw]
/petattack

Now, this worked pretty well for some time. I would go to the spawn spot, spam this macro, and get the tag most of the time. However, it recently stopped working, and when I checked why it wasn’t working, I realised I got a new pet and named it “devilsaurer” which triggers the /tar macro and makes me target my pet instead of the actual mob that spawns.

The solution is pretty simple, just get a new pet. I was going to do that, but then I realised if I can somehow manage to specify my target macro to only target the full name instead of just one keyword, I can use my pet to mess up other peoples macros that are doing the same thing.

How would you approach this situation?

/targetexact instead of /target

1 Like