mIRC Homepage
Posted By:
nalAAlan
mIRC Scripting
-
04/10/04
08:54 PM
What are some cool/helpful tricks you found over the years while using mIRC?
Posted By:
nalAAlan
Re: mIRC Scripting
-
04/10/04
08:59 PM
To toggle a switch do
Code:
var %switch = $iif(%switch,0,1)
To have ten random numbers do
Code:
$($str($!r(1,10) $chr(32),10),2)
Posted By:
starbucks_mafia
Re: mIRC Scripting
-
04/10/04
09:09 PM
A simpler way to toggle a switch (assuming it's always a 1 or 0) is
var %switch = $xor(%switch,1)
.
©
mIRC Discussion Forums