# Exit

TIP

  • exit()
  • Exits the command and stops running the code.

# Example

1: if ($player$ != "Acsrel") {
2:    sendMessage($player$, "This command can only be ran by Acsrel")
3:    exit()
4: }
5: sendMessage($player$, 'You are Acsrel!')