$stop

Stops the command execution. Works with “If Statements” and “Error Handling” functions.

BDScript 2

Can only be used in BDScript 2.

Syntax

$stop

Example

$nomention
$try
  $calculate[$message]
$catch
  $stop
$endtry
Expression: $message
!example a+5 !example 6+10 16
Expression: 6+10

As we can see, the bot did not send “Expression: a+5” when we tried to use “!example a+5”.

What is this?

Read more

For more information, read the Error Handling guide or If Statements guide.