mIRC Homepage
Posted By: gaui Shitlist - 12/06/03 11:47 PM
I'm trying to make a shitlist script.
I want to be able to shitlist *a*!*@*, then everybody with a in their nick will be banned.

I tried this but I don't know if it's enough...

Code:
on *:JOIN:#:{
  set %TMatch $ulist($address($nick,5),shitlist,1)
  if (%TMatch) {
    mode # -o+b $nick $address($nick,3)
    kick # $nick $iif($ulist($address($nick,5),shitlist,1).info,$ulist($address($nick,5),shitlist,1).info,shitlisted)
  }
  unset %TMatch
}
Posted By: Online Re: Shitlist - 13/06/03 01:40 AM
Using userlevels is probably the best way of accomplishing blacklist.

This goes to the remote,
Code:
on @black:join:#:{
  ban # $wildsite
  kick # $nick $iif($ulist($maddress).info,$ifmatch,blacklisted)
}

And to add users, simply type: /auser black <nick/address> [reason]
© mIRC Discussion Forums