Found something else? The standard anti-flood scripts don't seem sufficient if you have a bot in many channels, but maybe I'm overlooking something simple..

What is X? It could be anything. $2, %var, $readini, etc.

It's a good idea to use ( ) around your IF statements. You can sometimes get errors for not using them, and it's a bit harder to read