I found an addon that on nick join/nick change , check the nick and if a nick has a badword receive a kick:

Code
  if ($regex($nick,/(BADWORD|BADWORD|BADWORD|BADWORD|BADWORD|and so on...)/)) { mode # +bb $+(*,$regml(1),*!*@*) $address($nick,2) | kick # $nick bad nickname  detected } 

I wish it to check a file badnick.txt, so no need to add a lot of words in addon. Something like:

Code
  if ($regex($nick,($read(bnicks.txt,%x) iswm $nick))) { mode # +bb $+(*,$regml(1),*!*@*) $address($nick,2) | kick # $nick bad nickname  detected } 

What do You think?
Thanks