MODE <+|-> $[~][:] Extended bans (ban conditionals) allow different checks than the usual nick!user@host or nick!user@ip match to determine whether someone should be banned, quieted, exempted or invited. Extended bans are of the form $[~][:]. The is one character (case insensitive) and determines the type of match. Most types allow or require an extra field . If the tilde (~) is present, the result of the comparison will be negated, unless the ban is invalid in which case it will never match. Invalid bans are ones where is missing but required or where is otherwise invalid as noted below. Unless noted below, all types can be used with +b, +q, +e and +I. extb Type - DESCRIPTION ------------------------------------------------------------------------ $a - Matches all logged in users $a: - Matches users logged in with a username matching the mask (* and ? wildcards) $c: - Matches users who are on the given channel $g: - Matches as a normal ban but excludes logged in users $o - Matches opers (most useful with +I) $r: - Matches users with a realname (gecos) matching the mask (* and ? wildcards); this can only be used with +b and +q $s: - matches users connected to a server matching the mask (* and ? wildcards); this can only be used with +b and +q $j: - matches users who are or are not banned from a specified channel $x: - Bans all users with matching nick!user@host#gecos $z - Matches all SSL users