on JOIN:
on *:JOIN:#:{ if (%bln [ $+ [ $2 ] ] == on) kick $chan $nick 4Sorry, you are blacklisted. To appeal this, please speak to the ops/half ops of this channel.
}
else {
notice $nick 1-12 Hello $nick $+ , and welcome to $chan $+ ! To get started using EraBot's commands type .mainc 1- }
BlackList on:
on *:TEXT:.bl*:#:{ if ($address($nick,2) iswm $address($me,2)) {
set %bln [ $+ [ $2 ] ] on | kick $chan $2 4You have been blacklisted. | notice $nick You have just blacklisted $2 from my channel usage. } }
BlackList off:
on *:TEXT:.debl*:#:{ if ($address($nick,2) iswm $address($me,2)) {
if (%bln [ $+ [ $2 ] ] == off) notice $nick $2 is not blacklisted.
}
else {
set %bln [ $+ [ $2 ] ] off | notice $nick You have just unblacklisted $2 $+ . } }