on *:invite:#:{ if (!$($+(%,bl.listed.,$chan),2)) { join $chan msg $chan Thanks for inviting me $nick $+ . kick me and you're channel will be blacklsited } else { notice $Nick $chan is blacklisted. To have the blacklist removed, join #curtbot and ask [-Curt-] .msg %#curtbot $nick invited me to the blacklisted $chan } } on *:kick:#:{ if ($knick == $me) set $+(%,bl.kick.,$chan) yes } } on *:TEXT:!unblacklist*:#:{ if ($nick isop #curtbot || $nick ishop #curtbot) { unset $+(%,bl.kick.,$2) notice $nick $2 has been taken off the blacklist. } }