mIRC Home    About    Download    Register    News    Help

Print Thread
#243010 04/10/13 04:17 PM
Joined: Jul 2006
Posts: 4,149
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
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



#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Thanks this issue has been fixed for the next version.


Link Copied to Clipboard