rnd

rnd <numerical variable>,<number>

Generates a random number and sticks it in the numerical variable, ranging from 0 to (number - 1).

    EX)
    rnd %5,100