on *:KICK:#: {
if ($knick == $me){
inc %kinvite [ $+ [ $chan ] ]
}
}
on *:INVITE:#: {
if (%kinvite [ $+ [ $chan] ] => 5) { notice $nick Sorry, your channel is blacklisted! }
else {
join $chan
msg $chan 0,1 Hey there I'm $me $+ ! I have been kicked from this channel %kinvite [ $+ [ $chan ] ] $+ /5 times!
}
}
on 401:TEXT:!Blacklist*:#: {
set %kinvite [ $+ [ $2 ] ] 5
notice $nick $2 has been added to the blacklist!
}
on 401:TEXT:!Unblacklist*:#: {
set %kinvite [ $+ [ $2 ] ] 0
notice $nick $2 has been deleted from the blacklist!
}
on 401:TEXT:!Setwarn*:#: {
set %kinvite [ $+ [ $2 ] ] $3
notice $nick $2 $+ 's warn level has been set to $3 $+ !
}
on *:Join:#: { if (%kinvite [ $+ [ $chan ] ] >= 5) && ($nick == $me) { part # Sorry but due to the kick count, %kinvite $+ /5 $+ , this channel has been blacklisted. Please contact Badboy5151 to get this removed. } }