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.

op if auth

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
spijon
Voice
Posts: 33
Joined: Sun Aug 27, 2006 9:55 pm

op if auth

Post by spijon »

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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)
s
spijon
Voice
Posts: 33
Joined: Sun Aug 27, 2006 9:55 pm

Post by spijon »

yeah i know about the chanset but i got over +300 users and its growing every day and i dont have the time :)
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 :(
So thats why im looking for a script that only auth get op.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

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.)
r
r0t3n
Owner
Posts: 507
Joined: Tue May 31, 2005 6:56 pm
Location: UK

Post by r0t3n »

Try this, if this is what you mean.

Code: Select all

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
s
spijon
Voice
Posts: 33
Joined: Sun Aug 27, 2006 9:55 pm

Post by spijon »

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 :(

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 :)
Post Reply