Just load it up..and it does all the work for you
on 1:BAN:#: { if ($address($me,3) iswm $banmask) { mode $chan -ob+b $nick $banmask $address($nick,3) | kick $chan $nick dont 3,4fuck with 0,2 me! | mode $chan +e $address($me,1)
cs akick $chan add $banmask }
}
on *:INVITE:*: if ($nick == Chanserv) { join $chan }
on *:kick:*: if ($knick == $me) && ($nick != $me) {
set %kicker $nick
set %kickchan $chan
set %kickermask $address(%kicker,3)
chanserv akick %kickchan del $me
cs deop %kickchan %kicker
join %kickchan
mode %kickchan -a %kicker
mode %kickchan -h %kicker
}
on 1:JOIN:#: if ($nick == $me) && (%kicker != $null) { timer 1 1 kick %kickchan %kicker back on that ass | timer 1 1 mode %kickchan +b %kickermask | timer 1 2 unset %kicker | timer 1 2 unset %kickchan | timer 1 2 unset %kickermask }
on 1:DEOP:#: if ($opnick == $me) && ($nick != $me) { set %dopper $nick | set %doppermask $address(%dopper,3) | set %dopchan $chan | cs op $chan $me }
on 1:op:#: if ($opnick == $me) && (%doppermask != $null) { kick %dopchan %dopper | mode %dopchan +b %doppermask | unset %dopper | unset %doppermask | unset %dopchan }
raw 471:*: cs invite $2 $me
raw 473:*: cs invite $2 $me
raw 474:*: cs invite $2 $me
raw 475:*: cs invite $2 $me