Originally Posted By: FroggieDaFrog
if you want to kick him from all channels those would be fine. but if you wanted to kick him from a specific channel:
Froggie, you can make the script negate specific channels like so:
Code:
on *:nick:{
  var %c #chan1 #chan2 #chan3 #chan4 #chan5 #chan6 #chan7 #chan8
  if M3GA?* iswm $newnick {
    var %x $comchan($v2,0) | while %x {
      if $nick($comchan($newnick,%x),$me,oh) && $newnick ison $comchan($newnick,%x) && !$istok(%c,$comchan($newnick,%x),32) { 
        ban -ku600 $comchan($newnick,%x) $newnick 2 Message 
      }
      dec %x
    }
  }
}
Replace #chan1 #chan2...etc. with the channels you don't want the script to be triggered on. Of course, you can make it positive by removing the ! from the $istok and add the channels you want the script to work on conversely.