Command:/call

From the wonderful RedGuides Wiki

This command is added by MacroQuest

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /call <subroutine> [param [param...]]
Description Used to Call a Subroutine (and 'pass' parameters if required), while a macro is running

Options

Examples

A macro might want to check if the MQ2Cast plugin is enabled, this can be done using the following command within the macro;

/call CheckPlugin MQ2Cast

See also