Looks like I missed one "L" from the end of the kick reason. Fixed version:

Code:
on *:kick:#CHANNEL: {
  if ($nick == ChanServ) && ($1- == You are not authorized to be on this channel) && ($me isop #) {
    var %a = $address($knick,5),%x 1,%b
    while ($ibl(#,%x)) { if ($v1 iswm %a) var %b = %b $v1 | inc %x }
    massmode # -b %b
  }
}

alias massmode {
  while ($3) {
    mode $1 $left($2,1) $+ $str($right($2,1),$modespl) $gettok($3-,1- $+ $modespl,32)
    tokenize 32 $1-2 $gettok($3-,$calc(1+$modespl) $+ -,32)
  }
}