Revenge kick with a cap

By stargazer989 on Apr 13, 2008

the original is here: http://www.hawkee.com/snippet/2688/ i added a little something to make it stop at 2 revenge kicks, increase if you must, other than that it's pretty much http://www.hawkee.com/snippet/2688/ oh an i added the disconnect part, not sure if it works though

On *:kick:#scripts:{ if ($knick == $me) && ($nick != killserv) && [ [ $+(%,kicks.,$+ $chan) ] ] <= 2) { set %kchan $chan | inc %kicks. $+ $chan | set %knick $nick | raw -q join $chan } }

On *:op:#scripts:{ if ($opnick == $me) && (%knick ison %kchan) { raw -q kick %kchan %knick I can keep going!@ | unset %kchan | unset %knick } }

On *:disconnect:unset %kicks

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.