Sorry, this script is incomplete. You are missing a badnick alias. Also, at the very bottom, I think it needs to say /inc %i. Not %inc 1.
Not sure what your issue is but possibly this will fix it for you? Personally, I think you will achieve your best result by describing the result you are hoping for.
As for nick change.
on *:nick:{
if ($hget(badnick,$newnick)) { .ban # $newnick $+ !*@* 2 75 change nick (forbidden nick: $newnick $+ )
}
Now I dont know if this will match your list. Also, Im not sure in the nick event if you would kick $nick or $newnick.