Got this from Tault_mississippi (
http://www.taultunleashed.com/phpbb2/ab ... king_.html)
FUNCTION myRandom(upperlimit, lowerlimit)
myRandom = Int((upperlimit - lowerlimit + 1)*Rnd() + lowerlimit)
END FUNCTION
I quote :
The following VBScript code will generate a random number between any limits you
choose. (Since the Int function always rounds down, we add one to the difference
between the limits.)