mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#84623 30/05/04 08:22 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Quote:
yes but i only need it on that one channel p

on me:*:JOIN:#help:.timer $+ # 0 60 if ($me !isop #help) && ($nick(#help,$me).idle >= 540) { part #help }
on me:*:part:#help:.timer $+ # off

#84624 30/05/04 08:46 PM
Joined: Mar 2004
Posts: 108
X
Vogon poet
Offline
Vogon poet
X
Joined: Mar 2004
Posts: 108
The script I posted will ONLY work on #help. It will NOT work off $idle. Instead off a timer set to 9 minutes. IF you type in #help and ONLY in #help the timer is reset. It also doesn't activate if YOU are op in that channel. The only thing it wont take into account is IF you are opped once the timer is started.

EDIT:

on *:JOIN:#help:{
timeridle 1 540 parthelp
}
on *:input:#help:{
checkidle
}
alias CheckIdle {
timeridle off
timeridle 1 540 parthelp
}
alias parthelp {
var %a = #help
if ($me isop %a) { checkidle }
else { part #help }
}

note: (untested) that will also check to see if your opped before or after the fact.

thx,, yeah should be that wink

Last edited by xxxYODAxxx; 30/05/04 09:42 PM.

sometimes these are as bad as quit messages :tongue:
#84625 30/05/04 09:34 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Just wondering..

timeridle 1 540 part #help

should be..

timeridle 1 540 parthelp right?


"All we are saying is give peace a chance" -- John Lennon
Page 2 of 2 1 2

Link Copied to Clipboard