Instead of:
if {$key == "378"} {
Use:
bind raw - 378 getip
*** Remember to 'return 1' in the end of each raw command so the bot does not process anything more of that raw. See tcl-commands.doc for more info. (you hadn't returned 1 in your proc pasted above)
#Return 1 on a raw would be like halting the proc and no more processing of anything related to that raw number.
The bot has no way to bypass all of these lines. If it is an IRCop and whois it will get the same results for /whois as a normal IRCop does. So it will be the same for the bot as it is on your mIRC client. This is the server side and cannot be changed without changing the IRCd code.
Try using 'putdccraw' or 'putquick -next' instead of putserv with WHOIS $nick binded on join. Alot of raw replies can saturate the bot's memory and make it slow, so then you have to be careful yeah.
You can also change the define msg rate in the server.c file currently its 512/2. So that would get the bot to be more faster. You might want to ask the eggdrop support team on eggheads about this as well.
I know how to make the bot *send* data quickly, by using tcls with putquick -next, putdccraw or changing the define msg rate here, but making it *receive* data quickly. Then they might be able to help/assist you with that. As excess flood if you know happens on both sides if either you send alot of data or receive alot of data in a less amount of time than defined.
