Quakenet (personal) protection

By QuickStep on Aug 20, 2005

Personal protection for Quakenet. This is probably overdone multiple times, but in Quakenet its easy, nobody can really touch you if you are registered with Q and you have +ao status on your channel. This script uses this principle, so its a must to fill in your username & password.

Note: there might be small bugs because i haven't tested it. I wrote it for the increasing number of people who choose Quakenet as chat server.

Anyway enjoy.

;Quakenet only, personal protection
; - Hides ip
; - Ban protection
; - Kick protection
; - Op protection
; - Ctcp/Dcc protection

on *:CONNECT:{
  if ($network != QuakeNet) return
  .mode $me +ix

  ;Important please change:
  .msg Q@CServe.quakenet.org AUTH <username> <password>

  ;Ignore ctcps & dcc sends (recommended, can be disabled)
  .ignore -td *!*@* $network
}
on me*:DEOP:*:$iif($chanbot(#),.msg $v1 op #)
on me*:KICK:*:$iif($chanbot(#),.msg $v1 invite #) | join #
on *:INVITE:*:if ($ischanbot($nick)) join #
on @*:BAN:#:if ($banmask iswm $maddr) mode # -b $banmask 
on me*:OP:*:{
  if (!$chan(#).ibl) return
  var %a = 1
  while (%a <= $ibl(#,0)) {
    if ($ibl(#,%a) iswm $maddr) mode # -b $ifmatch
    inc %a
  }
}
alias -l chanbot return $iif(L ison $$1,$v1,$iif(Q ison $$1,$v1))
alias -l ischanbot return $iif($$1 isin L Q,$true)
alias -l maddr return $address($me,5)

Comments

Sign in to comment.
Kirby   -  Dec 14, 2008
 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.