rand
randf
Description:
Returns a random float between the specified ranges (optional). If no range is given then random float b/w 0 and 1, if one is specified number b/w 0 and that num.
Syntax:
random <min?> <max?>
Example:
random 5 10
Result:
6.924498893234736
randInt
randi
Description:
Returns a random integer between the specified ranges (optional). If no range is given then random integer b/w 0 and 1, if one is specified number b/w 0 and that num.
Syntax:
randomInt <min?> <max?>
Example:
randomInt 5 10
Result:
7
randBool
randb
Description:
Returns a random boolean value.
Syntax:
randomBool
Example:
randomBool
Result:
false
randChar
randc
Description:
Returns a random character from the ASCII table.
Syntax:
randomChar
Example:
randomChar
Result:
P