Pet Attack/Follow macro (From Hunter forums)

Basically toggles between PetFollow and PetAttack depending on your targets.
Works well with multiple targets too.
Try it out.
Works well with multiple targets too.
Try it out.
- Code: Select all
/run if not UnitExists("target") then PetFollow(); return; end if not UnitIsUnit("target", "pettarget") then PetAttack(target); else PetFollow(); end