]> jfr.im git - solanum.git/blame - help/opers/extban
Merge pull request #162 from maxteufel/umode_noctcp
[solanum.git] / help / opers / extban
CommitLineData
9e970ffd
CM
1MODE <channel> <+|-><b|q|e|I> $[~]<type>[:<data>]
2
3Extended bans (ban conditionals) allow different checks than the usual
4nick!user@host or nick!user@ip match to determine whether someone should
5be banned, quieted, exempted or invited.
6
7Extended bans are of the form $[~]<type>[:<data>]. The <type> is one
8character (case insensitive) and determines the type of match. Most types
9allow or require an extra field <data>. If the tilde (~) is present, the
10result of the comparison will be negated, unless the ban is invalid in which
11case it will never match. Invalid bans are ones where <data> is missing but
12required or where <data> is otherwise invalid as noted below.
13
14Unless noted below, all types can be used with +b, +q, +e and +I.
15
16 extb Type - DESCRIPTION
17------------------------------------------------------------------------
18 $a - Matches all logged in users
19 $a:<mask> - Matches users logged in with a username matching the mask
20 (* and ? wildcards)
21 $c:<chan> - Matches users who are on the given channel; this is only
22 valid if the channel exists and is not +s or +p. (The ops
23 of the channel the ban is on cannot necessarily see whether
24 the user is in the target channel, so it should not
25 influence whether they can join either.)
26 $o - Matches opers (most useful with +I)
27 $r:<mask> - Matches users with a realname (gecos) matching the mask
28 (* and ? wildcards); this can only be used with +b and +q
29 $s:<mask> - matches users connected to a server matching the mask
30 (* and ? wildcards); this can only be used with +b and +q
31 $j:<chan> - matches users who are or are not banned from a specified
32 channel
33 $x:<mask> - Bans all users with matching nick!user@host#gecos
34 $z - Matches all SSL users
35