mIRC Home    About    Download    Register    News    Help

Print Thread
#29465 12/06/03 11:47 PM
Joined: Apr 2003
Posts: 61
G
gaui Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Apr 2003
Posts: 61
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
}


__________________________
Curiosity killed the cat.
#29466 13/06/03 01:40 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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]


Link Copied to Clipboard