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 

Catching a 'no such user' server response

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Fri Apr 14, 2006 3:21 pm    Post subject: Catching a 'no such user' server response Reply with quote

If I do '/ctcp nick ping' and the nick is not online, I get a server response typified by :-

/ctcp arferoo ping
[20:12] *** ¢ PING sent to arferoo
[20:12] *** [arferoo] No such user

When I get an eggdrop to do the ping in response to a public command, I cannot seem to programatically catch this response either using the normal CTCR bind or a NOTC bind. What type of server response is it? Is there a raw numeric that would catch it?
Back to top
View user's profile Send private message
Doa
Voice


Joined: 19 Nov 2005
Posts: 5
Location: Oostende/Belgium

PostPosted: Fri Apr 14, 2006 4:15 pm    Post subject: Reply with quote

http://www.mishscript.de/reference/rawhelp2.htm
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Fri Apr 14, 2006 4:25 pm    Post subject: Reply with quote

Thanks for nothing Doa. I have several raw numerics listings.

The questions were :-
What type of server response is it?
Is there a specific raw numeric that would catch it

If you don't know the answer, please don't respond.
Back to top
View user's profile Send private message
Doa
Voice


Joined: 19 Nov 2005
Posts: 5
Location: Oostende/Belgium

PostPosted: Fri Apr 14, 2006 4:44 pm    Post subject: Reply with quote

you could take a look or check your client rawlog ...

>> :some.server.net 401 Doa test :No such nick/channel
so yea bind raw - 401 procname
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Fri Apr 14, 2006 5:22 pm    Post subject: Reply with quote

Ok, many thanks

I'll give that a try

Just one more question. I don't seem to have any raw logs (not that I know of anyway). I'm using mIRC. I must say raw logging would be very helpful, I wouldn't have needed to ask the question. What client are you using?
Back to top
View user's profile Send private message
Doa
Voice


Joined: 19 Nov 2005
Posts: 5
Location: Oostende/Belgium

PostPosted: Fri Apr 14, 2006 5:25 pm    Post subject: Reply with quote

irssi but i know mirc has something like that too , can't remeber what command though
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Apr 14, 2006 6:46 pm    Post subject: Reply with quote

its rather easy to enable raw logging on party line of your eggdrop. enable raw logging in the config file and your console.
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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