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.

WHOIS-Replay and other ServerMessages

Old posts that have not been replied to for several years.
Locked
K
Kripton
Voice
Posts: 28
Joined: Tue Jan 06, 2004 6:54 am

WHOIS-Replay and other ServerMessages

Post by Kripton »

My Bot is connected to QuakeNet. It has a (selfmade) script, which needs the authnames of the users in a channel!
Usually it asks "L" for the current authnick! This takes very much time and L doesn't eve respond sometimes.
Now, I found out, when doing an "/whois USER" I'm getting the normal information AND a single line with the authnick of the user! I just can't say, what this line is (server-msg or something!)
PLEASE, can someone try it out and tell me how to fetch (bind) this line in my eggdrop, so he can get the authnnames faster by simply "whois'ing" them?

ThanX so far

Appending the information I get when /whois Q: (in mIRC):

Q is TheQBot@CServe.quakenet.org * The Q Bot
Q using *.quakenet.org QuakeNet IRC Server
Q is an IRC Operator
-=-=-
(27.02.2004;10:08:41) Q is authed as Q
-=-=-
Q End of /WHOIS list.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

bind RAW 330 returns the Q auth
K
Kripton
Voice
Posts: 28
Joined: Tue Jan 06, 2004 6:54 am

Post by Kripton »

ok, can u plz tell me how to bind it?

thx
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

Code: Select all

bind raw - 330 whois:raw:330
proc whois:raw:330 { from keyword arg } {
	set auth [lindex [split $arg] 2]
	set nick [lindex [split $arg] 1]
	putlog "WHOIS: $nick = $auth"
}
just an example
K
Kripton
Voice
Posts: 28
Joined: Tue Jan 06, 2004 6:54 am

Post by Kripton »

OK, that'S it!

Thanx, guy!
Locked