nice little script. functional and useful. very close in operation and code to mine and i had to check for a moment lol... but i use wildsite alot. dont ask why, i know alot of people shun it\'s use.
as for the ban. i see you have used the kick ban. not needed. all you need is a simple \" ban -u600 or what ever \" not the \"ban -ku300 or whatever\" once they are banned and out the channel, the ban prevents them from coming back anyway until the timer expires.
one thing i had forgot in mine which you have got right though is the protect check. you could also use the isop check to protect any ops in channel from pings or accidental closures. maybe edit to check for that? what you think