/macro¶
Syntax¶
/macro <filename> [ <param0> [ <param1> [...]]]
Description¶
Executes a macro file. Supports passing parameters to the macro's Sub Main entry point.
Notes¶
- Calling a macro from another macro will immediately terminate the calling macro (no cleanup).
- Parameters are passed as space-separated values to Sub Main(params with spaces must be quoted)
- File resolution:- Appends .macextension if missing
- Searches relative to Macros/directory
- Supports absolute paths
 
- Appends 
Examples¶
/macro mymacro
/macro subdir/mymacro "goblin" 5
/macro "/full/path/to/macros/tradeskill.mac" "Smithing"