This is exactly why Blizzard has protected their functions like CastSpell and StopCasting. The AddOn you are wiring could be flagged as a botting AddOn of some sort. Blizzard does not want AddOns to make decisions for you. What you could do is write a range tracker for your pet to see how far away it is for you, so you can use the keybinding to call your pet back.
|