mIRC Home    About    Download    Register    News    Help

Print Thread
#31527 22/06/03 06:01 PM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
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!

#31528 22/06/03 06:05 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
eh? type something or doing a /command ?


#31529 22/06/03 06:05 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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

Last edited by pheonix; 22/06/03 06:12 PM.

new username: tidy_trax
#31530 22/06/03 06:08 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
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


Link Copied to Clipboard