Hi can anyone show me a way to whois the whole channel when I join it? In other words, I would like to be able to whois people upon my arrival to a room. I have tried the code below but nothing happened:
on *:JOIN:#: {
if ($nick == $me) {
whois $nick
}
}
I'm not sure if there's an effective way of doing this to trigger the whois successfully.
As said the code needs to be started in end of names raw 366 and will be more than a simple loop that does a /whois on every nick, otherwise theres a high risk of a flood disconnect.
Most servers support whois nick1,nick2,nickN so that will already decrease this risk substantially. I use a queue for this that sends next chunk after all received from previous, and also a timer that forces a minimal delay to give mirc some room to do something else because if you have alot code running upon receival of the raws, it could cause ping timeouts disconnects too. All together: a reliable solution is not that easy, especially since you specified every channel, potentially inflicting the need to whois thousands. I have something finished for cases like this but it's a couple thousand lines :p