Extended Bans

Extbans are split into two types; matching extbans, which match on users in additional ways, and acting extbans, which restrict users in different ways to a standard ban.

To use an extban, simply set +b or +e with it as the ban, instead of a normal nick!user@host mask, to ban or exempt matching users. Ban exceptions on acting extbans exempt that user from matching an extban of that type, and from any channel mode corresponding to the restriction. Matching extbans may also be used for invite exceptions by setting +I .

Matching extbans

j:<channel> Matches anyone in a channel. Does not support wildcards.
r:<realname> Matches users with a matching realname.
s:<server> Matches users on a matching server.
z:<fingerprint> Matches users with a matching ssl fingerprint.
O:<opertype> Matches IRCops of a matching type, mostly useful as an an invite exception.
R:<account> Matches users logged into a matching account.

Acting extbans

c:<ban> Blocks any messages that contain color codes from matching users
m:<ban> Blocks messages from matching users. Users with +v or above are not affected.
p:<ban> Blocks part messages from matching users.
A:<ban> Blocks invites by matching users even when +A is set.
B:<ban> Blocks all capital or nearly all capital messages from matching users.
C:<ban> Blocks CTCPs from matching users.
N:<ban> Blocks nick changes from matching users.
Q:<ban> Blocks kicks by matching users.
S:<ban> Strips color/bold/underline from messages from matching users.
T:<ban> Blocks notices from matching users.
U:<ban> Blocks unregistered users matching the given ban.

A ban given to an acting extban may either be a nick!user@host mask, matched against users as for a normal ban, or a matching extban.

There is an additional special type of extended ban, a redirect ban:

Redirect n!u@h#channel will redirect the banned user to #channel when they try to join (requires banredirect module).