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.

Java Client

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Java Client

Post by holycrap »

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!

:D
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Post by holycrap »

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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: Select all

bind evnt - init-server evnt:init_server

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