/call¶
Syntax¶
/call <subroutine> [Param0... [Param#]]
Description¶
Calls subroutine (defined later in the macro by "Sub subroutine").
(See Subroutines for detailed information)
Examples¶
| **** | |
|---|---|
| /call MySub | Executes the MySub subroutine |
| /call MySub var1 var2 var3 | Executes the MySub and passes it parameters var1, var, var3 |
| /call MySub ${var1} ${var2} | Executes the MySub subroutine and passes it variables var1, var2 as parameters |
Discussions that link here
This command is added by MacroQuest.
Republished and possibly modified from https://docs.macroquest.org/reference/commands/call/