What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Random Numbers

Random Numbers
Author: Message:
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Random Numbers
Hi !

Try this ;)

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.... !! :D

This post was edited on 08-20-2006 at 11:11 PM by KnRd_WC.
08-20-2006 11:05 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
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


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On