# Goto

TIP

  • goto(<line>)
  • Goes to a line in the code and continues running the code from there.

# Parameters

  • <line> The line to go to as int

# Example

1: if ($player$ = 'Acsrel') { goto(50) }
2: if ($player$ = 'Steve') { goto(100) }
3: exit()
50: sendMessage($player$, 'Hello Acsrel')
51: exit()
100: sendMessage($player$, 'Hello Steve')
101: exit()