on *:KICK:#:{ if ($knick == $me) { set %blacklist $addtok(%blacklist,$chan,44) } on *:INVITE:#:{ if ($chan isin %blacklist) { notice $nick This channel has been blacklisted. Join #curtbot to take it off. } } on *:TEXT:!unblacklist*:#:{ if (($nick isop #curtbot) || ($nick ishop #curtbot)) { set %blacklist $deltok(%blacklist,$2,44) { notice $nick $2 has been taken off the blacklist } }