mIRC Home    About    Download    Register    News    Help

Print Thread
#18052 04/04/03 09:59 PM
Joined: Dec 2002
Posts: 99
M
MDA Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2002
Posts: 99
Greetings,

I'm having problems forcing a timer to activate a mode change in a channel after its been activated. The problem is in the timer not recognizing the channel for the turning off of the invite mode perviously set. Could someone help me with this command format?

./timer.pnb 1 600 { /mode $me +h %pass | /mode $!chr(37) $!+ $right(#,-1) -i }

Thanks,
MDA

#18053 04/04/03 10:18 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
you can't use multiple commands in timers
you have to put commands in alias and call that alias with timer
/timer.pnb 1 600 pnb $!chr(37) $!+ $right(#,-1)
alias pnb {
mode $me +h %pass
mode $1 -i
}


Code:
//if ( khaled isgod ) echo yes | else echo no
#18054 04/04/03 11:32 PM
Joined: Dec 2002
Posts: 99
M
MDA Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2002
Posts: 99
Greetings Rat,

Thanks, that's what I needed to add and understand


Regards,
MDA


Link Copied to Clipboard