1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-08 04:26:01 -04:00
irssi/docs/help/in/ban.in
Alexander Færøy 5c6ebb9f93 Documentation cleanup. Thanks to Remco Lanting.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-05 13:18:10 +00:00

28 lines
788 B
Plaintext

@SYNTAX:ban@
Bans the specified nick or userhost mask.
If nick is given as parameter, the ban type is used to generate the ban
mask. /SET ban_type specified the default ban type. Ban type is one of
the following:
Normal - *!*user@*.domain.net
User - *!*user@*
Host - *!*@host.domain.net
Domain - *!*@*.domain.net
Custom [nick] [user] [host] [domain]
If no arguments are given the current bans in this channel are displayed.
Examples:
/BAN loser - Bans the nick 'loser'
/BAN -host loser - Bans the host of nick 'loser'
/BAN *!*@*.org - Bans all the users coming from any .org domain.
/SET ban_type custom nick domain - nick!*@*.domain.net
/SET ban_type custom user host - *!user@host.domain.net
See also: KNOCKOUT, KICKBAN