MACRO stopmacro

From Wowpedia
Jump to: navigation, search

Stops the execution of the current macro, skipping further commands.

/stopmacro [options]

Usage

This command accepts secure command options. If any condition is satisfied, the execution of the current macro will stop, and commands beyond the /stopmacro will not be executed; no action is performed otherwise.

Notes

  • This can be useful for debugging or to deal with macro length limitations.
  • In cases where multiple macros are executing recursively, this command stops the inner-most macro (the one it appears in) without affecting macros further up the execution stack.