Rules

$onlyIf[condition;message]

Stops the command and sends the message when the condition is false.

Values

condition
A comparison like $getVar[coins]>=100 using == != > < >= <=, or true or false.
message
What to send when the command stops, or empty to stop quietly.

Example

$onlyIf[$getVar[coins]>=50;You need 50 coins for this.]

Stops with You need 50 coins for this. when the user has less

All functions