1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00
irssi/docs/help/in/ban.in
Geert Hauwaerts 71ab0fbda6 Applied grammar and styling corrections
Applied grammar and styling corrections.
2014-08-07 22:00:40 +02:00

43 lines
1.0 KiB
Plaintext

%9Syntax:%9
@SYNTAX:ban@
%9Parameters:%9
-normal: Uses the *!*user@*.domain.tld format.
-user: Uses the *!*user@* format.
-host: Uses the *!*@host.domain.tld format.
-domain: Uses the *!*@*.domain.tld format.
-custom: Uses the custom format.
A channel and the nicknames or hostnames to ban; if no arguments are given
the bans in the active channel are displayed.
If no ban format parameter is given, the value of the ban_type setting will
be used to generate the hostmask to ban.
%9Description:%9
Adds one or more bans to a channel.
%9Configuring the custom format:%9
You must set the custom ban_type to the format you would like to use. For
example, if you set the custom ban_type to 'nick domain', it will generate
a ban based on the nick!*@*.domain.tld format.
%9Examples:%9
/BAN
/BAN mike
/BAN -host bob
/BAN *!*@*.irssi.org
/BAN -domain sarah
/SET ban_type custom nick domain
/SET ban_type custom user host
%9See also:%9 DEOP, KICKBAN, KNOCKOUT, OP, UNBAN