admin/ircop Script With IPshun

By CaRe_Taker on Jan 30, 2006

Add this to Your Remotes :)
This has a Full Ip shun An a Unshun
I made this coz i havent seen it here yet
i dont think
it works well :)
Any comments or suggestions Please let me no
An this is just the start not a finished thing

alias ipshun { .enable #IPshun | whois $$1 }
#IPshun off
raw 311:*: { 
  /shun $+(*!*@,$4) 
  .disable #ipshun
}
#ipshun end
alias unshunip { .enable #unshunip | whois $$1 } 
#unshunip off 
raw 311:*: {
  /shun - $+(*!*@,$4)
  .disable #unshunip
}
#unshunip end
alias ipkline { .enable #ipkline | set %ipkline.reason $2- | whois $$1 } 
#ipkline off 
raw 311:*: { 
  /kline $+(*!*@,$4) %ipkline.reason
  .disable #ipkline
  /unset ipkline.reason
}
#ipkline end
menu nicklist { 
  admin/ircop
  .ipshun $$1: { ipshun $$1 } 
  .-ipshun $$1: { unshunip $$1 } 
  .ipkline $$1: { ipkline $$1 } 
  .Setoper:/setoper $$1 +admin 
  .unsetoper:/setoper $$1 -admin 
}

Comments

Sign in to comment.
CaRe_Taker   -  Jan 31, 2006

updated now with an ipkline :)

 Respond  
CaRe_Taker   -  Jan 30, 2006

yeah instead of shunnin the Nick You shun there ip :)
its pretty cool

 Respond  
RameN   -  Jan 30, 2006

Never eva heard of an IPShun

 Respond  
RoninWarrior   -  Jan 30, 2006

your missing closeing brackets.

 Respond  
CaRe_Taker   -  Jan 30, 2006

just tested it with RAW 320 an it Sets it but Then you cant un set the shun

 Respond  
Dooley   -  Jan 30, 2006

Wouldn\'t raw 320 $5 be better for the ip since $4 on raw 311 is ident?

 Respond  
CaRe_Taker   -  Jan 30, 2006

Comments or suggestions ?
Keep in mind this is only the start of the script :)

 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.