MBan

By ReQueST on Jan 19, 2005

Bans or removes a userhost address, in all channels on 1 network were you are opped.
Usage: /mban [-|+] [userhost]
The - is obviously removal, and the + adding. Userhost is in !abba@*.singers.nu form, or any other mask type.

alias mban {
  %b = $comchan($me,0)
  while (%b) {
    if ($me isop $comchan($me,%b)) { mode $comchan($me,%b) $$1 $+ $str(b,$numtok($$2-14,32)) $2- }
    dec %b    
  }
}

Comments

Sign in to comment.
ReQueST   -  Jan 24, 2005

Do with it as you please.. I meanly wrote it to protect against spambots.

 Respond  
Yoinx   -  Jan 20, 2005

yeah, good point.

 Respond  
splatted   -  Jan 20, 2005

it\'s not that uncommon for those who are banned, to do a quick /whois and join another channel you are on to give their final \"get f-\" or to flood

 Respond  
Yoinx   -  Jan 20, 2005

it does what you say, but why ban a person from channels they arent even in?

 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.