Hi namnori you have the 32 and the 1 the wrong way round in the $findtok().

IMO I'd use $istok() to check if it is a token.

And also, how about calling the nicknames from an alias, just so the original poster don't get a little confused with token identifiers. smile

alias bnicks {
  return these nicks are to be banned on sight Donna{sleeping}

On @*:Join:[color:red]#Channel[/color]: {
  if ($istok($bnicks,$nick,1,32)) {
    ban -k $chan $nick 3

Edit: Matt beat me to it. :tongue: