I've got a charmed pet macro I wrote for use in certain zones. Basically, you target your charmed pet, and start the macro, it record's the pet's ID, and then sets up the event for "charm has worn off". When dealing with a charmed pet tho, I always make sure I'm not so close that I don't have time to remez, and recharm the pet.
Allowing a macro to blindly run your toon farther away from the ex-charmed pet is a recipe for disaster, IMO. Just stand your ground, and have it try to cast screaming terror until it lands. Then you manually recharm pet. You might also code in a cast to FD yourself if HP drops below a certain amount in case you have problems getting the mez off.
- TI
