This is a protection simple protection script. It has conditions in case of a kick and ban. On kick, it will invite you back then kick $nick that kicked you. on ban, it will remove ban, and ban $nick that banned you. Some might find it quiet useful.
on *:kick:#: {
if ($knick == $me) && ($me isop $chan) {
cs invite $chan $me
cs unban $chan $me
cs akick $chan clear
timer 1 1 join $chan
timer 1 1 kick $chan $nick Nice try noob
timer 1 2 cs akick $chan add $address($nick,4) This Ban Was Resulted Because You Banned Me.
Ok first problem:
if (%knick == $me) {
if (%bnick == $me) {
That should be:
if ($knick == $me) {
if ($bnick == $me) {
Or else it will retaliate on ever single ban and kick made. And than when those fixes are made, it will try to protect even you dont have status. Which can probably lead to lagging. It needs work, even to call it simple. Sorry if I sound harsh dude, but its the truth.