Checks if the given condition is true or false.
Last updated 3 years ago
Was this helpful?
$checkCondition[value1(comparisonSymbol)value2]
This function has three params.
value1
The value to compare to value 2.
String
Yes
(comparisonSymbol)
The comparison symbol
value2
The value to compare to value 1.
bot.commands.add({ type: "basicCommand", name: "condition", code: `Given condition: 1>2 The given condition is $checkCondition[1>2]` })