mIRC Home    About    Download    Register    News    Help

Print Thread
Number choice #251656 26/02/15 08:23 PM
Joined: Dec 2014
Posts: 68
M
michaelukz Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
Hey, so for a little code I am working on, I need it so choose a number from 1-6 and set it to some sort of val so I can do if statements, How would I get it to choose from 1-6, I did search through several pages, but it's very specific, so I am not really sure what I should type in search and get the wrong answer, Any help?

Re: Number choice [Re: michaelukz] #251657 26/02/15 08:30 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
I assume you're looking for "$rand(1,6)" /help $rand


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Number choice [Re: Nillen] #251659 26/02/15 08:36 PM
Joined: Dec 2014
Posts: 68
M
michaelukz Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
Thank you! I didn't know what to search for at all, big help!