a while back i wrote a greeting script that stored a persons greeting which they set with a text event in a hash table

i wanted to do it by address but the fact of the matter is from network to network and time to time addresses change

so due to the dynamic nature of masks on a lot of networks
i opted to just do it by name

so the best your going to manage is good use of wild cards to prevent changes in mask from allowing people to slip through, unfortunatly this will also include people you dont want

im assuming you make the table add the entry and then test it
as i didnt see hmake or

umm this is totally untested but i figured i'd cobble something together for you

Code:
on *:start: {    
  if ($isfile(blacklist.hsh)) {      
    hmake blacklist 100    
    hload -o blacklist blacklist.hsh  
  }  
  else { 
    hmake blacklist 100
  }
}
on *:exit: { 
  hsave -o blacklist " $+ $scriptdirblacklist.hsh"  
  hfree blacklist 
}
on !@*:join:#: {
  if (($hfind(blacklist, $address($nick,5))) {
    ban $chan $nick 2
    kick $chan $nick blacklisted: $hget(blacklist, $address($nick,5)) 
  }
}


may work may not
if u can find the tutroial by king tomato thats really good

and im assuming you can make your own add/remove popups yourself or do it manually if not say so

good luck


Edited by NeUtRoN_StaR (09/12/05 10:38 PM)