Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Extbans

Christine Dodrill edited this page Sep 26, 2015 · 1 revision

Extbans allow extending the standard nick!user@host into a different, more exteded ban selector. Usage of an extended ban is similar to a normal ban, except the following syntax is required:

MODE #channel +b $a:Horp

This sets a ban on #channel for any client logged into services with the account name Horp.

An extban can be negated by specifying a ~ before the kind of extban to be negated. For example:

MODE #tor +I $~c:#lamers

This will provide an invite exception in #tor to everybody not on channel #lamers.

Extbans can be used anywhere a ban-like mode is used such as: a channel ban (+b), ban exception (+e), channel quiet (+q) or invite exception (+I).

Extban Descrption
$a[:mask] Without a mask, $a will match any client logged into services under any account name. With a mask, $a will match using normal irc string comparison to the account name.
$c:mask Checks if a client is present in another channel (does not work if the other channel is +s/+p).
$j:mask Non-recursively checks if a client is banned from another channel.
$m:+-modes Affects anyone with the given user modes (must start with a + or -).
$o Affects IRC operators (umode +o).
$r:mask Affects anyone with the realname/gecos specified.
$s:server Affects anyone on the specified server (wildcards too).
$x:mask Matches by the entire nick!user@host gecos string .
$z Matches if the target user is connected over SSL.

Clone this wiki locally