I want something else
When nick changes to badnick from the bads. Txt , it is band out channel
But if the badnick is in several nicks, it does not banded it
Example : jac is badnick in bads.Txt
tom >> jac(newnick in bads.txt) bandnick
Tom >> mac_jac not bandnick
I want to read the badnick when changing it, even if it is within the line and next to it other words and band it

Example: jac is badnick in bads.Txt
tom >> kamel_jacmohamed band nick

Code
   on *:NICK:{
  if $badnick($newnick) {
    var %e = 1, %u = $v1
    while $comchan($newnick,%e) {
      if ($me isop $v1) || ($me ishop $v1) && (%korukanal != $v2) && ($newnick isreg $v2) {
        mode $v2 +b %u
        kick $v2 $newnick 2 Nick'iniz KanaL Seviyesine Uygun Değildir. 2ßy 5 $me
 
      }
      inc %e
    }
  }
}
alias badnick {
  var %e = 1
  while $read(bads.txt,%e) {
    if $v1 iswm $1 {
      return $v1
    }
    inc %e
  }