This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

OPs cant OP anyone else? [Solved]

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
S
Sheldon
Voice
Posts: 25
Joined: Sat May 13, 2006 11:41 am

OPs cant OP anyone else? [Solved]

Post by Sheldon »

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.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

The easiest way would be

Code: Select all

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.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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 :D.
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...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
S
Sheldon
Voice
Posts: 25
Joined: Sat May 13, 2006 11:41 am

Post by Sheldon »

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 ;)
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

De Kus wrote:PS: when comparing channel flags in matchattr, its highly recommned to add the channel as argument :D.
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.
Post Reply