mIRC Homepage
Posted By: gsandan Timer Question? - 22/06/03 06:01 PM
Can someone make me a script. I need it to do this: Whenever I enter a command (like activate 1) a timer turns on and when I enter (like off1) it turns the timer off. Thanks!
Posted By: ScatMan Re: Timer Question? - 22/06/03 06:05 PM
eh? type something or doing a /command ?

Posted By: pheonix Re: Timer Question? - 22/06/03 06:05 PM
alias timeron {
/timer $+ $1 $2 $3 $4-
}
^^ $1 being the name of timer $2 being the number of repetitions(0 is until you stop the timer) $3 being the time between each event $4- being what you want the timer to do
or you can use the shortened version
alias timeron {
/timer $1-
}
alias timeroff {
/timer $+ $1 off
}

usage: /timeron kick 1 50 kick $chan blah
this would wait 50 seconds before kicking blah
/timeroff kick
turns off the timer if u change ur mind
thanx scatman wink
Posted By: ScatMan Re: Timer Question? - 22/06/03 06:08 PM
on text triggered when SOME1 type a text, not u, if u want it when u type use on input:
on *:input:#:{ if ($1 == :`timeron) { command } }
etc
© mIRC Discussion Forums