$stop
Stops the command execution. Works with “If Statements” and “Error Handling” functions.
Can only be used in BDScript 2.
Syntax
$stop
Example
$nomention
$try
$calculate[$message]
$catch
$stop
$endtry
Expression: $message
Expression: 6+10
As we can see, the bot did not send “Expression: a+5” when we tried to use “!example a+5
”.
How $calculate[]
, $message
, $try
, $endtry
and $catch
works?
For more information, read the Error Handling guide or If Statements guide.