You need to use this stopmacro technique
#showtooltip
/cast [mod:alt,@cursor] [@player] Anti-Magic Zone
/ping [nomod:alt,@player] onmyway
/stopmacro [nomod:alt]
/ping onmyway
You need to use this stopmacro technique
#showtooltip
/cast [mod:alt,@cursor] [@player] Anti-Magic Zone
/ping [nomod:alt,@player] onmyway
/stopmacro [nomod:alt]
/ping onmyway