Protection script

By samcobra on Mar 27, 2005

Basically, all you need to do is load it up. After that, it does all the work for you.

Samcobra's Protect Script....
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

Comments

Sign in to comment.
guest598594   -  Oct 09, 2007
raw *:*: if ($numeric == 471 || $numeric isnum 473-475) cs invite $2 $me
 Respond  
Lindrian   -  Dec 18, 2006

Although I dont think it\'ll protect you against a \"!mute\" or a Deop-ban-kick. But otherwhize its very well done.

 Respond  
DarthReven   -  Mar 27, 2005

nice code

 Respond  
supergeo   -  Mar 27, 2005

Very Very nice 8 in my book.

 Respond  
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.