(Official) LUA Scripting Documentation
get_random
Get a random number.
Spec:
get_random(
long max)
Parameters
max
: The highest number
Returns
long
: The random number
The number generated will be between 0 and max
inclusive
Example
notify("The dice roll equals ", get_random(5)+1)
Incomplete
This documentation is incomplete