on *:TEXT:!blacklist*:#chatters,#pca_clan: {
if ($nick ishop $chan) || ($nick isop $chan) {
if ($readini(blacklist.ini,ADRESSES,$address($2,2))) { /notice $nick $2 Is already in the blacklist
}
else {
.writeini blacklist.ini ADRESSES $address($2,2) $2
/notice $nick $2 has been added to my blacklist
ban -ku360 $chan $address($2,2)
/notice $2 You are now not welcome on this channel!
}
}
}
on *:JOIN:#chatters,#pca_clan: {
if ($readini(blacklist.ini,ADRESSES,$address($nick,2))) {
ban -ku600 $chan $nick
/msg $chan $nick was found in my blacklist and is not welcome on $chan
/notice $nick you have received a 10 min ban DO NOT COME BACK you are blacklisted on this channel
}
}
on *:TEXT:!deblacklist*:$chan: {
if ($readini(blacklist.ini,ADRESSES,$address($2,2))) {
.remini blacklist.ini ADRESSES $address($2,2)
/notice $nick $2 has been removed from blacklist
/mode $chan -b $address($2,2)
/notice $2 You have been unblacklisted by $nick please come back to $chan
}
}