$or
Returns true if one of the conditions are true. Otherwise, returns false.

FUNCTION USAGE

  • $or[condition1;condition2]

Properties:

condition1 - The first condition in the check. condition2 - The second condition in the check.

Operators:

> (greater than) < (less than) >= (greater than or equal to) <= (less than or equal to) == (equal to) != (not equal to)

Example 1: Both conditions are incorrect. Returns false.

bot.Command({
name: "check",
code: `
$or[1==4;2==3]
`
})

Example 2: One conditon is not correct. Returns true.

bot.Command({
name: "check",
code: `
$or[1==2;4==4]
`
})
Copy link