egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OPs cant OP anyone else? [Solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Sheldon
Voice


Joined: 13 May 2006
Posts: 25

PostPosted: Sat May 20, 2006 7:57 pm    Post subject: OPs cant OP anyone else? [Solved] Reply with quote

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
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon May 22, 2006 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Mon May 22, 2006 3:57 am    Post subject: Reply with quote

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 Very Happy.
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
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon May 22, 2006 6:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sheldon
Voice


Joined: 13 May 2006
Posts: 25

PostPosted: Mon May 22, 2006 8:56 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Tue May 23, 2006 4:57 am    Post subject: Reply with quote

De Kus wrote:
PS: when comparing channel flags in matchattr, its highly recommned to add the channel as argument Very Happy.
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber