mIRC Home    About    Download    Register    News    Help

Print Thread
#36692 16/07/03 01:41 PM
C
captain_obvious
captain_obvious
C
I know how $rand process, v1, v2 and it chooses random for instance ctrl + K $+ $rand(1,15) would return a random color and what have you not, but what if i just wanted to pick between 2 colors, and still have it be random?

#36693 16/07/03 01:43 PM
P
pheonix
pheonix
P
but both numbers in a text file and use $read(yourtext.txt) grin

#36694 16/07/03 01:46 PM
C
captain_obvious
captain_obvious
C
wow, thickheaded me... thanks.

#36695 16/07/03 02:02 PM
S
ScatMan
ScatMan
S
or $gettok(NUM1 NUM2,$r(1,2),32)

#36696 16/07/03 02:05 PM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
$iif($r(0,1),color1,color2)


Link Copied to Clipboard