I run a mIRC-based bot and some hours ago the server had a netsplit, you know, everyone quitting irc. The problem is, when they come back, they make a mass join flood, because they're scripts autommaticly reconnect to the server and then something like 100 people joins the channel in seconds.
When someone join that channel, my bot does a /who on the nick that joined, to check if its Real Name is not ofensive, and if it is, it kicks.
When everyone joined, the bot, obviously, started to do /who on all that people at the same time .... because they all joined!
So I wanted to make sure this doesn't happen again, I was thinking about doing a script that detects mass join and so stops the bot from making /who for a while. We would set a variable. in case of massjoin, he sets the %join $true, and I add it on the script of /who.
What do you recommend me to do?