Command:/goto

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 /goto <:label_name>
Description This moves the macro execution to the location of <:label_name> in the macro.

Options

Examples

Example

:MyLabel
/if ( ${Me.Moving} ) /goto :MyLabel
/echo I am no longer moving!

See also