Custom Command
FunctionsOnly Functions

$onlyIf

Continue the execution only if certain expression is satisfied, otherwise stop the execution and send the error message. In theory $onlyif can replace all other $onlyFor with the proper expression

Usage

$onlyif[Expression;error message]

Example: $onlyIf[$username==Mido;You are not mido]

Note

Read about Expression

Note

You can send embed using Message Curl Format

Function difficulty: Medium

Tags: Only If Conditional Restriction Only Execute if

On this page