| View previous topic :: View next topic |
| Author |
Message |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Dec 06, 2008 12:41 pm Post subject: Java Client |
|
|
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!
 |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Dec 06, 2008 1:42 pm Post subject: |
|
|
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 |
|
 |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sun Dec 07, 2008 2:13 pm Post subject: |
|
|
| 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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Dec 07, 2008 10:44 pm Post subject: |
|
|
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 |
|
 |
|