Prtection

By platinum391 on Jan 12, 2005

No1 Can Deop Kick Or Ban u with out u auto deoping ban kicking them
This Keeps Your Irc chan Safe i made this using parts of codes of this site and put iall toghther with help from the codersi got it to work :D

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;; Kick/ban/Deop Protection 
;; By platinum- 
;; Gamers Database 
;; #-GD- ufo391@hotmail.com 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
on *:BAN:#: { 
  if ($nick != $me) { 
    if ($banmask iswm $address($me,5)) { mode $chan -o $nick | mode $chan $+(-,b,+,b,u,%unbantime) $banmask $address($nick,2) | kick $chan $nick Banning me is pretty lame } 
  } 
} 
on *:DEOP:#: { 
  if ( $opnick == $me ) { 
    msg L op $chan $me 
    set $+(%,oprevenge.,$chan) $nick 
  } 
} 
on *:OP:#: { 
  if ( $opnick == $me ) && ( $+(%,oprevenge.,$chan) != $null ) { 
    .mode $chan -o $($+(%,oprevenge.,$chan),2) 
    .ban -k $chan $($+(%,oprevenge.,$chan),2) Deop Revenge. 
    unset $+(%,oprevenge.,$chan) 
  } 
} 
on *:OP:%kchan: { 
  if ($opnick == $me) && (%knick ison #) { 
    ban -k # %knick Do not kick me! 
  } 
} 
on *:KICK:#: { 
  if ( $knick == $me ) { 
    join $chan 
    set %kchan $chan 
    set %knick $nick 
    timer 1 2 checkifop 
  } 

} 
/checkifon { 
  if ( $me ison %bchan ) { 
    ban -k %bchan %bnick Do not ban me! 
    halt 
  } 
  join %bchan 
  ban -k %bchan %bnick Do not ban me! 
} 
alias /checkifop { 
  if ( $me isop %kchan ) { 
    ban -k %kchan %knick Do not kick me! 
    halt 
  } 
} 
on 1:CONNECT:{ 
.amsg *** I have Successfully loaded 
.amsg *** Kick/Ban/Deop Protection 
.amsg *** For Bug report Contact me @ 
.amsg *** #-GD- www.gamersdatabase.com } 

Comments

Sign in to comment.
Salvida   -  Jan 14, 2005

this script is pretty bad I must say would not adwise to use this, find a better one. It tried to ban chanserv for deopping me lol. And then it send a pm to a user on the chan telling him to give me op @, would have been better if it was a msg to chanserv L or X instead of sending msg\'s to other ops. Sorry but didnt like this one.

 Respond  
xDaeMoN   -  Jan 13, 2005

/checkifon will work if it has an alias before it or it\'s in the alias section

 Respond  
platinum391   -  Jan 13, 2005

wel it works with out it

 Respond  
platinum391   -  Jan 13, 2005

opps lol u just change the L to your chanserv

 Respond  
platinum391   -  Jan 13, 2005
 Respond  
platinum391   -  Jan 13, 2005

u can edit it all u want

 Respond  
QuickStep   -  Jan 13, 2005

the line \'msg L op $chan $me\' obviously only works on Quakenet. You need to document that.

 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.