| View previous topic :: View next topic |
| Author |
Message |
paulm Voice
Joined: 28 Aug 2007 Posts: 7
|
Posted: Tue Aug 28, 2007 8:21 pm Post subject: Qakenet auth support for eggdrop users |
|
|
Hi,
I'm looking for a script that allows me to identify eggdrop users not only by hostmask but alternatively by Quakenet auth nick.
For example, when I have added an eggdrop user with a hostmask "nick!login!host.org" and qauth-name "qanick" eggdrop would recognize channel users as him if they had the right hostmask or if they authed with Q using "qanick" as auth nickname.
Is there already such a script?
cheers,
paulm |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Aug 28, 2007 8:45 pm Post subject: |
|
|
Have you searched the Tcl Archive? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
paulm Voice
Joined: 28 Aug 2007 Posts: 7
|
Posted: Wed Aug 29, 2007 3:45 am Post subject: |
|
|
Hi Alchera,
actually I did search Tcl Archive. Using "Quakenet" as search term I recieve 24 results but mainly scripts to auth the bot to Q, to get Chanlev or to protect a channel using Quakenet bots. Searching for "auth" I get little more results but still not the script I'm looking for. qban comes close but it only bans on auth names. What I'm looking for was setting a user's eggdrop flags on auth names - banning on these flags may be a part of it.
So I didn't find anything that adds Q auth support to the original eggdrop user records. If I didn't search hard enough I would appreciate a hint.
cheers,
paulm |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Wed Aug 29, 2007 12:57 pm Post subject: |
|
|
This isn`t a bad idea. Right now there is no such script in public.
I guess no one releases it because it would create a support hell.
Either you can do it yourself or you can`t use that. I also highly doub`t someone does it here for free just because of this request. It`s to much code... _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Wed Aug 29, 2007 1:59 pm Post subject: |
|
|
I'm the coder/developer of the service bots on #pwnd.bots at quakenet, and i have worked with such scripts before, and im currently adding it into my service script.
It takes alot of work, you got to know your raw's etc etc, and it can cause alot of bot lag/pingouts/sendq's if you don't watch out.
What i tend to do is do a /who #channel for each channel the bot is it, and use an array.
| Code: | bind pub nm|- \!getauths proc:getauths
bind raw -|- {354} proc:raw354
if {![array exists authnames]} {
array set authnames {}
}
proc proc:getauths {nick uhost hand chan text} {
if {$text != "" && [string index [set c[lindex [split $text] 0] 0]]] == "#" && [validchan $c]} {
putquick "WHO $c %nat,37"
} elseif {$text == ""} {
foreach c [channels] {
putquick "WHO $c %nat,37"
}
}
}
proc proc:raw354 {from raw arg} {
global authnames
if {[lindex [split $arg] 1] == "37" && ![info exists authnames([set n [string tolower [lindex [split $text] 2]]]] && ([set a [lindex [split $arg] 3]] != "0" || $a != "")} {
set authnames($n) "$a"
}
} |
_________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
|