Functionalities
Other
$random
Returns a random number between the 1st and 2nd fields.

FUNCTION USAGE

  • $random[min;max]

Properties:

min - The minimum number. Function will not go under this number. max - The maximum number. Function will not go over this number.

Example:

1
bot.Command({
2
name: "randomnumber",
3
code: `
4
Oh well, the random numbers are... $random[$message[1];$message[2]]
5
`})
Copied!
Last modified 6mo ago
Copy link
Contents
Properties: