Public feed
#530688
on *:invite:#:{
if (!$($+(%,bl.listed.,$chan),2)) {
join $chan
msg $chan Thanks for inviting me $nick $+ . I have been kicked $($+(%,bl.kick.,$chan),2) times. 5 kicks will result in a ban!
}
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) {
inc $+(%,bl.kick.,$chan)
if ($($+(%,bl.kick.,$chan),2) >= 5) set $+(%,bl.listed.,$chan) yes
}
}
on *:TEXT:!unblacklist*:#:{
if ($nick isop #curtbot || $nick ishop #curtbot) {
unset $+(%,bl.kick.,$2)
unset $+(%,bl.listed.,$2)
notice $nick $2 has been taken off the blacklist.
}
}