shitbreak protection for QuakeNet.

By juhapuha on Jul 12, 2007

Just copy the script and paste into your remotes section.
This script will protect you from banning, kicking and deopping, but only in quakenet.Very easy to use.

[                     DON't edit the script.                        ]
[          the script is made by shitbreak @ QuakeNet.              ]  
[          the script is only for QuakeNet use. Enjoy!              ]
[...................................................................]
on *:load:{ .remote on }
menu channel {
  ....shitbreak protection.
  ..all protections on:/set %kickprotection on | set %banprotection on | set %deopprotection on | //echo -ag all protections enabled.
  ..all protections off:/set %kickprotection off | set %banprotection off | set %deopprotection off | //echo -ag all protections disabled
  ..KICKprotection on:/set %kickprotection on | //echo -ag KICK protection enabled
  ..KICKprotection off:/set %kickprotection off | //echo -ag KICK protection disabled
  ..BANprotection on:/set %banprotection on | //echo -ag BAN protection enabled
  ..BANprotection off:/set %banprotection off | //echo -ag BAN protection disabled
  ..DEOPprotection on:/set %deopprotection on | //echo -ag DEOP protection enabled
  ..DEOPprotection off:/set %deopprotection off | //echo -ag DEOP protection disabled
}
;deop-protection part:
on *:deop:#:{ if (%deopprotection == on) && ($opnick == $me) && ($nick != $me) && ($nick != Q) && ($nick != L) && ($nick != $server) {
    .msg $iif(Q ison $chan,Q,L) op $chan
    .set %nick $nick
    .set %chan $chan
    .set %host $address($nick,2)
    .set %banmask $banmask
  }
}
on *:op:#:{ if ($opnick == $me) && (%nick ison %chan) {
    .mode %chan -o+b-b %nick %host %banmask
    .kick %chan %nick don't kick/ban/deop me.
    .unset %nick
    .unset %chan
    .unset %host
    .unset %banmask
  }
}
;banprotection part:
on *:ban:#:{ if (%banprotection == on) {
    if ($banmask iswm $address($me,5)) && ($me isop $chan) && ($nick != $me) { kick $chan $nick don't ban me. | mode $chan +b-b $address($nick,2) $banmask }
    if ($banmask iswm $address($me,5)) && ($me !isop $chan) && ($nick != $me) { .msg $iif(Q ison $chan,Q,L) op $chan | set %banmask $banmask | set %nick $nick | set %chan $chan | set %host $address($nick,2) }
  }
}
;kickprotection part:
on *:kick:#:{ if ($knick == $me) && ($nick != $me) {
    .msg $iif(Q ison $chan,Q,L) unbanall $chan
    .msg $iif(Q ison $chan,Q,L) invite $chan
    .set %nick $nick
    .set %chan $chan
    .set %banmask $banmask
    .set %host $address($nick,2)
  }
}
on *:invite:#:{ if ($nick == Q) || ($nick == L) { join $chan }
}

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.