Instead of $nick, use $wildsite when inc'ing.
You can also use:
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:
.raw MODE $chan +b $wildsite $+ $lf $+ KICK $chan $nick :kick message