Did you restart your mIRC before trying that? Because, as you can see, the hash table has to be created and everything in the on start event.

So to start the script, type /chans_load, or restart your mIRC.

Also, did you add the channel to %protchans with the channel popup? Right click in a channel where you want the script to scan on join, and then test it.

Also, don't forget, it will not kick a user that is an op, so if you are using your clone that gets oped or something, the script won't kick it.

I've tested the script, prior to posting it, so it should work. Btw I used the operator $v1, so this will only work in mIRC 6.16, don't know if you're aware.

Gonna go to bed now, its almost 6 am and I'm getting tired :P

Greets

EDIT: I've changed it so that if you enable/disable the script through the channel popup, that it will also load/unload the channels immediately, rather than through the on start/exit events. So you ought to recopy the whole script, as I've altered the chans_save alias as well.