I know you've had other replies since I posted mine and you replied with the fact that it didn't work. I see why, and below is the corrected version of the code I gave earlier
Code:
on @*:KICK:#: /inc -u10 $+(%,kick.,$knick)
on @*:JOIN:#: {
if $($+(%,kick.,$nick),2) {
/ban -ku10 $chan $nick Autorejoin on kick is not nice
}
}