mIRC Homepage
Posted By: drowsy timers with a time problem? - 25/12/15 05:39 AM
The problem i'm having is the first timer sets and the others wont.

Code:
on *:text:~test*:#:{
  if ($2 == on) {
    msg # announcement 12,1(9,1+12,1)
    .timer.test.1 23:00 1 1 describe #chat test1!
    .timer.test.2 24:00 1 1 describe #chat test2!
    .timer.test.3 01:00 1 1 describe #chat test3!
    .timer.test.4 02:00 1 1 describe #chat test4!
  }
  if ($2 == off) { msg # announcement 12,1(4,1-12,1) | .timer.test.* off }
}
Posted By: nanito Re: timers with a time problem? - 26/12/15 10:36 PM
it's because the .timer.test.2 is not logical.

change this and it will work.

Code:
.timer.test.2 24:00 1 1 describe #chat test2!


to

Code:
.timer.test.2 00:00 1 1 describe #chat test2!
© mIRC Discussion Forums