/BANTYPE -> /SET ban_type. /BAN: -type option added to override default

ban type.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-03 20:48:23 +00:00 committed by cras
commit 4f2be94115
9 changed files with 147 additions and 121 deletions

View file

@ -2,13 +2,23 @@
@SYNTAX:ban@
Bans the specified nick or userhost mask.
If nick is given as parameter, the current
BANTYPE affects the ban mask.
Example:
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
Host - *!*@host.domain.net
Domain - *!*@*.domain.net
Custom [nick] [user] [host] [domain]
Examples:
/BAN looser - This bans the nick 'looser'
/BAN *!*@*.org - This bans all the users coming from any
.org domain.
See also: BANTYPE, KNOCKOUT
/SET ban_type custom nick domain - nick!*@*.domain.net
/SET ban_type custom user host - *!user@host.domain.net
See also: KNOCKOUT, KICKBAN

View file

@ -1,16 +0,0 @@
@SYNTAX:bantype@
This command shows or views the current ban type.
The ban type is used by BAN and KNOCKOUT commands.
Normal - *!user@*.domain.net
Host - *!*@host.domain.net
Domain - *!*@*.domain.net
Custom [nick] [user] [host] [domain]
eg. /bantype custom nick domain - nick!*@*.domain.net
eg. /bantype custom user host - *!user@host.domain.net
See also: BAN, KNOCKOUT

View file

@ -7,5 +7,5 @@ by default.
Default alias for /KNOCKOUT is /KN.
See also: BANTYPE, BAN, KICK
See also: BAN, KICK