Instead of $nick, use $wildsite when inc'ing.

You can also use:

Code:
on @*:text:...


So that you don't have to put the "if ($me isop $chan)"..

I also suggest that you use ban -ku or use $lf to join raw commands. Example:

Code:
.raw MODE $chan +b $wildsite $+ $lf $+ KICK $chan $nick :kick message