mIRC Home    About    Download    Register    News    Help

Print Thread
#108493 19/01/05 11:34 PM
Joined: Jul 2004
Posts: 150
D
Debug Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Jul 2004
Posts: 150
Hi,

What do you think about to add something like /timerALL off or /timer -a off to turn off all timers? Tthis could be very useful.

#108494 19/01/05 11:38 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Try /timers off laugh

#108495 19/01/05 11:50 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
/timerALL off would turn the timer which was allocated the name ALL off.

There is Iori's way and also /timer* off.

And actually, your way also lol. wink

Code:
alias timerall {
  .timer* off 
   echo $color(info) -a * All timers halted
}

Last edited by SladeKraven; 19/01/05 11:57 PM.
#108496 20/01/05 01:17 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
There is also this insanely silly way....

Code:
on *:START:{
  .timerALL 0 86400 $!null
  .timerALLwatch 0 1 ALLwatch
}
alias ALLwatch {
  if (!$timer(ALL)) {
    timer* off
    .timerALL 0 86400 $!null
    .timerALLwatch 0 1 ALLwatch
  }
}

#108497 20/01/05 01:21 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
You might want to make it work like a normal time, eg:

Code:
alias timerall {
  if ($1 != off) { timerall $1- }
  else {
    if ($timer(all)) { timerall off }
    else { timers off }
  }
}


New username: hixxy
#108498 20/01/05 01:30 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Yep. Indeed. laugh


Link Copied to Clipboard