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 

op if auth

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


Joined: 27 Aug 2006
Posts: 33

PostPosted: Tue Oct 24, 2006 3:27 am    Post subject: op if auth Reply with quote

Hey all

Im looking for a script that will autoop users on a quakenet channel if they are auth.

Having troubles with takers on a freeop channel .. they are are useing proxy bots :/

I tryed looking the forum throug but with out any luck
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Oct 24, 2006 3:36 am    Post subject: Reply with quote

The bot will only op people it knows, as added with their hostmasks when you add them with +user. I assume what you mean is you want strict-ops so that unknown people cannot get or keep ops unless the bot knows them?

You probably want to look at these options in your eggdrop config, and set your channels to have these options as well:

# autoop
# Op users with the +o flag as soon as they join the channel?
# This is insecure and not recommended.
#
# autohalfop
# Halfop users with the +l flag as soon as they join the channel?
# This is insecure and not recommended.
#
# bitch
# Only let users with +o) flag be opped on the channel?
#
# protectops
# Re-op a user with the +o flag if they get deopped?
#
# protecthalfops
# Re-halfop a user with the +l flag if they get dehalfopped?
#
# protectfriends
# Re-op a user with the +f flag if they get deopped?


If the channels are already created, you'll have to change the channel modes from the bot's dcc console, with .chanset (take a look at .help chaninfo and .help chanset)
Back to top
View user's profile Send private message
spijon
Voice


Joined: 27 Aug 2006
Posts: 33

PostPosted: Tue Oct 24, 2006 3:48 am    Post subject: Reply with quote

yeah i know about the chanset but i got over +300 users and its growing every day and i dont have the time Smile
I know that proxy got a problem with getting auth throug ex: clonesx.

I got about 20 eggdrops that correctly hold the channel together.. but problems with takers attacks that use +30 proxy takebots Sad
So thats why im looking for a script that only auth get op.
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Tue Oct 24, 2006 5:06 am    Post subject: Reply with quote

There is no such script, and I'd be amazed if someone would make it for you.

If you want to run little lame channels that op everyone that joins, then be prepared to face the consequences. Don't think some silly eggdrop with some protecting script will save your channel. Only a network service can keep your channel safe from take-overs and that's why Q has something called bitchmode. Stop opping people you don't know and use bitchmode. Add the correct flags to the people you want to have op.

(PS: Proxies are just clients too, they can also auth.)
Back to top
View user's profile Send private message
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Tue Oct 24, 2006 6:33 pm    Post subject: Reply with quote

Try this, if this is what you mean.

Code:
set authop(chans) "#chan1 #chan2"
bind join - {*} authop:join
bind raw - 354 authop:gotraw

proc authop:join {nick uhost handle chan} {
  global authop
  if {[lsearch -exact $authop(chans) $chan] == -1} { return }
  set authop($nick) "$chan"
  putserv "WHO $nick %na"
}

proc authop:gotraw {from key arg} {
  global authop
  set nick [lindex [split $arg] 1]
  set auth [lindex [split $arg] 2]
  if {![info exists authop($nick)]} { return }
  set chan $authop($nick)
  if {[lsearch -exact $authop(chans) $chan] == -1} { return }
  if {$auth != "0" && $auth != ""} {
    putserv "MODE $chan +o $nick"
  }
  unset authop($nick)
}


Not tested.
_________________
r0t3n @ #r0t3n @ Quakenet
Back to top
View user's profile Send private message MSN Messenger
spijon
Voice


Joined: 27 Aug 2006
Posts: 33

PostPosted: Wed Oct 25, 2006 8:27 am    Post subject: Reply with quote

Thank you Tosser^^ your the man!
Havent theck it out yet but i will dude !!

And i can see what you mean metroid mabey you right about the hole freeop thingy... im just tired of wanna be takers and so on Sad

Anyone have a idle/status script that gives +v / +ao if they idle like 4days .. so the bot remember how long a user has idle the channel Smile
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