"Master Ban"

By Asphyxaition on Dec 22, 2005

This allows you to, whatever channel you're in, ban/kick the user from the channel, add a permanent SHUN, and adds a permanent GLINE.

Syntax: /mban {user) (reason)

.xX(( Sonic Max Snippet / (C)2005 ))Xx.

mban {
  var %x = 1
  while (%x <= $chan(0))
  mode $chan +bbbbb $address($$1,1) $address($$1,2) $address($$1,3) $address($$1,4) $address($$1,5) 
  kick $chan $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
  shun $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
  gline $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
}

Comments

Sign in to comment.
Vegitha   -  Jan 26, 2016

menu nicklist,query {

masterban
.ban: mode $chan +bbbbb $address($$1,1) $address($$1,2) $address($$1,3) $address($$1,4) $address($$1,5)
.kick: kick $chan $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
.shun: shun $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
.gline: gline $$1 $2- $3= .xX(( Sonic Max Snippet ))Xx.
}

 Respond  
Cheiron   -  Nov 26, 2007

you cant set a gline unless you have Operserv access, ie. IRCop. to my knowledge anyway. otherwise a very good script and it does what it needs to do

 Respond  
KuTsuM   -  Dec 24, 2005

You can still edit the snippet, you know

 Respond  
Asphyxaition   -  Dec 24, 2005

Yeah, that immediately came to mind at the last minute. Like.. right after I posted the code. So I changed it in my own alias and popup menu. =x

 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.