Mend/Revive Pet Macro (To Fix the Bug)

If you are reading this, you tested some of above, and realised some do not work as intended.

For those that want it to work on classic. TESTED 2025 classic macro:

/cast [@pet,noexists] Call Pet
/cast [@pet,dead] Revive Pet
/cast [@pet,nodead,exists] Mend Pet