Extended Bans
m (→Channel and Realname) |
|||
Line 11: | Line 11: | ||
! style="text-align: center;" | Name | ! style="text-align: center;" | Name | ||
! style="text-align: left;" | Purpose | ! style="text-align: left;" | Purpose | ||
+ | |- | ||
+ | | style="text-align: center;" | ~a | ||
+ | | style="text-align: center;" | Account | ||
+ | | If a user's account name matches this ban, (s)he will be unable to join. | ||
|- | |- | ||
| style="text-align: center;" | ~c | | style="text-align: center;" | ~c | ||
| style="text-align: center;" | Channel | | style="text-align: center;" | Channel | ||
| If a user is in a channel that matches this ban, (s)he will be unable to join. | | If a user is in a channel that matches this ban, (s)he will be unable to join. | ||
+ | |- | ||
+ | | style="text-align: center;" | ~j | ||
+ | | style="text-align: center;" | Shared Bans | ||
+ | | If a user matches a ban on the channel who's ban list is being shared, (s)he will be unable to join. | ||
|- | |- | ||
| style="text-align: center;" | ~n | | style="text-align: center;" | ~n | ||
Line 27: | Line 35: | ||
| style="text-align: center;" | Realname | | style="text-align: center;" | Realname | ||
| If a user's realname (gcos) matches this ban, (s)he will be unable to join. | | If a user's realname (gcos) matches this ban, (s)he will be unable to join. | ||
+ | |- | ||
+ | | style="text-align: center;" | ~t | ||
+ | | style="text-align: center;" | Text | ||
+ | | Allows you to specify text that will be blocked if a user's privmsg or notice to the channel contains it. * and ? wildcards supported. | ||
|- | |- | ||
|} | |} |
Revision as of 23:53, 15 December 2008
We've recently added support for extended bans, which allow you to have more control over your channel's ban list.
The proper syntax for these types of bans is as follows:
/mode #channel +b ~type:mask
The following types of extended bans are supported:
Type | Name | Purpose |
---|---|---|
~a | Account | If a user's account name matches this ban, (s)he will be unable to join. |
~c | Channel | If a user is in a channel that matches this ban, (s)he will be unable to join. |
~j | Shared Bans | If a user matches a ban on the channel who's ban list is being shared, (s)he will be unable to join. |
~n | Nick Change | If a user matches this ban, (s)he will be unable to change their nickname while in the channel. |
~q | Quiet | If a user matches this bans, (s)he will be unable to send messages to the channel. |
~r | Realname | If a user's realname (gcos) matches this ban, (s)he will be unable to join. |
~t | Text | Allows you to specify text that will be blocked if a user's privmsg or notice to the channel contains it. * and ? wildcards supported. |
Quiet and Nick Change
~q and ~n, are similar to old bans, except that they allow you to control what a user can do without preventing them from joining the channel. ~q will prevent users matching the ban from sending messages to the channel, while ~n will prevent them from changing their nickname.
Syntax:
/mode #channel +b ~q:nick!ident@host
/mode #channel +b ~n:nick!ident@host
So, for example, if you wanted to allow AOL users to join the channel, but prevent them from speaking, you could set the following ~q extended ban:
/mode #channel +b ~q:*!*@*.aol.com
If you wanted to prevent AOL users from changing their nickname while in your channel, you could set the following ~n extended ban:
/mode #channel +b ~n:*!*@*.aol.com
Channel and Realname
~c and ~r are channel and real name bans. When ~c is used, anyone who is currently in a channel that matches the ban will not be able to join. When ~r is used, no one whose real name (gcos) matches the ban will be able to join (note: ~r treats _ as both the character _ and a space).
Syntax:
/mode #channel +b ~c:#channel
/mode #channel +b ~r:realname
So, for example, if you wanted to prevent users who are in any channel containing the word warez from joining your channel, you could set the following ~c extended ban:
/mode #channel +b ~c:#*warez*
If, for example, you wanted to prevent users with the word bot in their real name (gcos) from joininf the channel, you could set the following ~r extended ban:
/mode #channel +b ~r:*bot*
Assistance
Should you need assistance using the new extended bans feature, feel free to stop by #Support