Macro

From MacroQuest Wiki

/macro filename [ param0 [ param1 [...]]]

Starts running a macro. Optional parameters can be added to the end of the /macro line, and the parameters will be passed the Main sub within that macro.

Note: Calling a macro from another macro will end the calling macro.
Invoking a /macro from within a macro will cause the first line to be skipped in the new macro. Deal with it.

Examples

/macro mymacro
/macro mymacro "water flask" "metal bits"

See Also