Thanks so much again for the reply on this. It didn't work for me right away because I must've gotten onto it right after when you first posted it Tomao and it had said 'badnick' within the brackets, which thankfully I soon figured out should be bad, (edited now) then it fired but still didn't work correctly so I changed "Bad Nick" in the banline to $newnick and also dropped the "2" based on the status msgs I was seeing. It works great now! Many many thanks for this!
The following code works perfectly fine for me:
Code:
on *:nick:{
  if ($hfind(bad,$newnick,1,W)) { 
    ban -ku30 #chan $v1 $newnick Not Allowed!
  }
}
Working just fine in the "on *:join:" event as well. Awesome idea overall Tomao, and yes, even better with the *'s in the entries.
Code:
on *:join:#mychannel:{
  if ($hfind(bad,$nick,1,W)) { 
    ban -ku30 #mychannel $v1 $nick Not Allowed!
  }
} 

Questions: It works with or without the $v1 in the banline, should I just disregard. Will that be as issue?
Is there any way to read or view the hash table to revisit what you have entered, or is that impossible and I'll have to keep a masterlist?
Seriously, thank you so very much for this! laugh

Last edited by displayname; 21/09/12 10:26 PM.