| View previous topic :: View next topic |
| Author |
Message |
Sheldon Voice
Joined: 13 May 2006 Posts: 25
|
Posted: Sat May 20, 2006 7:57 pm Post subject: OPs cant OP anyone else? [Solved] |
|
|
i have a problem with my OPs opping other friends, and its getting tiresome
i have unOPed some good operators because of this... they do it when im no on channel (then i check logs)
is there a script available or can one be made.
Taking into consideration its on Quakent and we have L
could a script be made where my bot wont let anyone be OP unless L sets it??
even stopping OPs opping friends?
it could even execute the /msg L chanlev
command to deop then take away +ao on the culprit
meaning they have to come clean to me then to get OPs back.... stopping them doing it again.
i noticed in my search to find such a script... there a few that punish user who DEop someone?
could this be modified to work the other way... punich for OPing?
Last edited by Sheldon on Mon May 22, 2006 8:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Mon May 22, 2006 1:38 am Post subject: |
|
|
The easiest way would be
| Code: | setudef bitchmode
bind mode -|- "* +o" bitchmode mode:op
proc mode:op {nickname hostname handle channel mode victim} {
if {[channel get $channel bitchmode] && ![string equal L $nickname] && ![matchattr $handle o|mn $channel]} {
pushmode $channel -o $victim
putquick "PRIVMSG L :CHANLEV $channel $nickname -ao"
}
} |
Activate it by using .chanset #channel +bitchmode
Last edited by metroid on Tue May 23, 2006 4:58 am; edited 1 time in total |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Mon May 22, 2006 3:57 am Post subject: |
|
|
Isn't this a bit paranoid? You should select your L autoopped persons wisely. As long the bot keeps himself opped from L, I don't see the need to so drastically deop someone who just opped someone. Maybe he is just on from another machine and doesnt have Q login setup and you deop someone who simply isnt known to be a legal op.
PS: when comparing channel flags in matchattr, its highly recommned to add the channel as argument .
PPS: oh, its chattr not matchattr... whatever... _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon May 22, 2006 6:31 pm Post subject: |
|
|
Isn't there an "opguard" setting on that network as per DALnet &c? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sheldon Voice
Joined: 13 May 2006 Posts: 25
|
Posted: Mon May 22, 2006 8:56 pm Post subject: |
|
|
sorted now, got a script called superbitch
only Masters and me can OP people now..
all legit OPs can get their OPs the normal way through L
works great.
thanks for all your replies though  |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Tue May 23, 2006 4:57 am Post subject: |
|
|
| De Kus wrote: | PS: when comparing channel flags in matchattr, its highly recommned to add the channel as argument .
PPS: oh, its chattr not matchattr... whatever... |
Indeed, just noticed that. In my personal opinion you shouldn't op anyone if you can't trust him anyway. Or if your really paranoid, simply get Q and use bitchmode on it. |
|
| Back to top |
|
 |
|