mIRC Home    About    Download    Register    News    Help

Print Thread
timers bugs using [time] #243010 04/10/13 04:17 PM
Joined: Jul 2006
Posts: 3,738
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,738
When using the [time] parameter of /timer (I don't know if it's related to infinite repetition), mIRC either executes the command twice at the beginning, or the second execution of the command doesn't respect the interval:
Quote:
//timertest $puttok($time(HH:nn),$calc($gettok($time(HH:nn),2,58) + 1),2,58) 0 5 echo -a $!time
Quote:
16:45:05
16:45:05
16:45:10
16:45:15
16:45:20
... above, the command is executed twice whenever [time] is reached
16:46:05
16:46:09
16:46:14
16:46:19
16:46:24
16:46:29
16:46:34
16:46:39
... above, only one execution of the command when [time] is reached, however there is a consistent dispecrancy in the way it will always execute for the second times after 4 secs instead of 5 secs, using this example.
16:47:05
16:47:09
16:47:14
16:47:19
16:47:24
16:47:29
...
16:48:05
16:48:05
16:48:10
16:48:15



Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: timers bugs using [time] [Re: Wims] #243044 10/10/13 09:04 AM
Joined: Dec 2002
Posts: 4,863
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,863
Thanks this issue has been fixed for the next version.