mIRC Home    About    Download    Register    News    Help

Print Thread
#205937 03/11/08 07:52 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I have this in my script:
Code:
$iif(%autosecs == 5,$style(1)) 5 sec:{ set %autosecs 5 }
$iif(%autosecs == 10,$style(1)) 10 sec:{ set %autosecs 10 }
$iif(%autosecs == 15,$style(1)) 15 sec:{ set %autosecs 15 }

Now to my question, I want to add a "custom" to that one, how can i get %autosecs if it's not 5, 10 or 15, since it's custom i don't get the same value all the time, depending on what it's set to.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #205941 03/11/08 08:05 PM
Joined: Jul 2006
Posts: 4,151
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,151
Code:
$iif(!$istok(5.10.15,%autosecs,46),$style(1)) %autosecs sec:{ set %autosecs $input(Time,e,Time) }




#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard