code:myNum = Math.floor(Math.random()*16);
// myNum will be between 0 and 15, if you don't want to have 0, use this one :
// myNum = Math.floor(Math.random()*15)+1;
--------------
Lol Silentdragon, we don't say the same thing.... !!
This post was edited on 08-20-2006 at 11:11 PM by KnRd_WC.
Random Numbers - by Spunky on 08-20-2006 at 10:51 PM RE: Random Numbers - by Silentdragon on 08-20-2006 at 11:01 PM RE: Random Numbers - by KnRd_WC on 08-20-2006 at 11:05 PM RE: Random Numbers - by Spunky on 08-20-2006 at 11:17 PM RE: Random Numbers - by KnRd_WC on 08-20-2006 at 11:25 PM