Ah. This is what you should have said in your original topic. I hate writing these sorts of scripts for other people, testing is always an annoyance.

Well, in this case,

Code:
alias badnick_kick {
  var %chan = $1 , %nick = $2
  if (%nick ison %chan) {
    ban -k %chan %nick 2 You were asked to change your nick.
  }
}


Then, when a user joins on the channel, you'll check if the nick is a bad nick, then if it is, do a .timer 1 20 badnick_kick $chan $nick.

You'll also have an "on nick" event, to check if the nick changed to another bad nick. If the user was using a bad nick, and changes to another bad nick, just kick them and get it over with.