Edit

Random (modulus)

Result Type: Number

Definition: Returns a random integer uniformly distributed between 0 and modulus - 1. Modulus must be in the range 1..32767.

Examples:  Random(5)

will return a random number between 0 and 4.