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 

Java Client

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


Joined: 21 Jan 2008
Posts: 152

PostPosted: Sat Dec 06, 2008 12:41 pm    Post subject: Java Client Reply with quote

Hi,

Does anyone know how to make a script so that when someone /whois the bot it will show that the bot is a "Java Client", even though it's not? I know it has to do something with the mode. For example setting the mode to "+B" will show it as a "Bot" under /whois.

Thanks!

Very Happy
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Dec 06, 2008 1:42 pm    Post subject: Reply with quote

This sounds to me like an odd server-extension. Further information on how these identifications/detections are made in order to help you further with your inquiry.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Sun Dec 07, 2008 2:13 pm    Post subject: Reply with quote

Quote:
Further information on how these identifications/detections are made in order to help you further with your inquiry.

If I log onto an IRC server using a java site and I /whois myself it will say: nick is a java client. Like... how would I do that to the bot when someone /whois it and show that it's a java client when it is not?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Dec 07, 2008 10:44 pm    Post subject: Reply with quote

This is not a standard IRC function, and in order to help you further, information on how this detection is needed. That is, what special feature does these servers have in order to figure what kind of client is in use...

Since you said this was somehow related to custom usermodes, I'd guess your java-client is hardcoded to set some mode to itself. If that's the case, figure out which mode that is, and it's just a matter of modifying the code below:
Code:
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
 putquick "MODE $::botnick +mode_goes_here"
}

_________________
NML_375, idling at #eggdrop@IrcNET
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