GALiRe
GScript command (random)
Function:
Returns a random number between 0 and a given number. i.e. -
$number = random(5);
This could work outside of GALiRe Script, as long as it is within an event tag (ex. onLoad:;).