Welcome
With this scriptlet you can blacklist addresses, in all channels or only one. However, if you are on multiple networks, and in channel on both networks with the same name, it will kick in both of them, if you added that channel name.
It goes in your remote, alt + r and has been tested with mirc version 6.12.
Syntax: /blacklist add/del nick!ident@host.com #channel/# reason
If you use # as channel, the user will be blacklisted in all the channels you are opped in. When you delete a user, you dont have to specify #channel or reason.
alias blacklist {
if ($1 == add) {
if (*!*@* !iswm $2) || ($left($3,1) != $chr(35)) echo -a WRONG SYNTAX. /blacklist add nick!ident@host.com #channel reason
else auser blacklist $2-
}
elseif ($1 == del) {
if (*!*@* !iswm $2) echo -a WRONG SYNTAX. /blacklist del nick!ident@host.com
elseif (!$ulist($2,blacklist,1)) echo -a The host $2 isnt added to your blacklist.
else ruser blacklist $2
}
}
on @blacklist:join:#:{
tokenize 32 $ulist($address($nick,5),blacklist,1).info
if ($1 == $chan) || ($1 == $chr(35)) {
ban -u1800 $chan $ulist($address($nick,5),blacklist,1)
kick $chan $nick Blacklisted. $2-
}
}
Made by vakuum