Custom Command
FunctionsUseful Functions

$stop

This function will cause the interpetender to stop the command execution & return a message if wanted.

Usage:

$stop[Message (optional)]

Example:


!!exec $sendMessage[This message will be send;no]


$stop[This funtion will cause the interpetender to stop the code]


$sendMesssage[This message won't be send;no]

This message will be send

This funtion will cause the interpetender to stop the code

Note

You can send embed using Message Curl Format

Watch Out!!

Using plain text in your code, like below will NOT work!!

This code doesn't work:

This is plain text before the stop function
$stop
This is plain text after the stop function

^^ - This will not send anything!

Function difficulty: Medium

Tags: Stop Cancel Error End Execution

On this page