Is this ok?

Code:
;on !*:JOIN:#: whois $nick
raw 319:*: {
  if (#laplapan isin $3-) || (#classmate isin $3-) || (#skul isin $3-) {
    var %t = $comchan($2,0)
    while (%t) {
      if ($me isop $comchan($2,%t)) {
        ban -u600 $comchan($2,%t) $2 2
        kick if ($comchan($2,%t).op == $true) $2 11 Spam Channel - 10 Minute Ban
        /msg  $2 11,1 The channel 0,4 $3 11,1 has been mass advertising on other channels. You may enter Chat in 10 minutes when the ban is lifted providing you are no longer on 0,4  $3-
      }
      dec %t
    }
  }
}