mIRC Home    About    Download    Register    News    Help

Print Thread
resetting on specific time and day (timer) #169659 26/01/07 04:38 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
How to reset on a specific time and day

sample i want to reset %scores every monday 12:00am



learn learn learn
Re: resetting on specific time and day (timer) [Re: learn3r] #169685 26/01/07 10:19 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Use:
Code:
/timerresetscores 0:00 0 1 reset

alias reset {
  if ($date(ddd) == Mon) { unset %scores }
}


You'll need to put the /timer somewhere (on START or something) so that it will work.


Invision Support
#Invision on irc.irchighway.net
Re: resetting on specific time and day (timer) [Re: Riamus2] #169703 27/01/07 12:02 AM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
I'm gonna try this thanks


learn learn learn