mIRC Homepage

Idle problem

Posted By: NiCk2

Idle problem - 25/03/03 07:27 PM

Why does mIRC always returns 0 when I do //echo $idle ?
Have I got to use raws in order to retrieve information about my own idle ?
Posted By: Collective

Re: Idle problem - 25/03/03 07:50 PM

Because after you type the line mIRC resets the idle counter. You can use $idle in a script without it resetting.
Posted By: KingTomato

Re: Idle problem - 26/03/03 12:29 PM

just to demonstrate it, try doing:
Code:
//timer11 5 /echo -a $idle

thatr should return 5, assuming the timer is correct.
Posted By: Rich

Re: Idle problem - 26/03/03 07:03 PM

Try
//timer 1 5 /echo -a idle = $!idle
instead.
© 2020 mIRC Discussion Forums