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.
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.
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?
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: