On *:TEXT:!addban &:#: {
if ($address($nick,2) == $readini(bothelper.ini,staff,$address($nick,2))) && ($2) {
msg $chan $2 10has been added to Blacklist - by 7 $nick .
var %file = banchan.txt
if ( !$read(%file,nw,$2) ) write %file $2
}
}
on *:text:!delban &:#: {
if ($address($nick,2) == $readini(bothelper.ini,staff,$address($nick,2))) && ($2) {
msg $chan $2 10has now been removed from Blacklist - by 7 $nick .
var %file = banchan.txt
if ($read(%file,nw,$2)) write $+(-dl,$readn) %file
}
}