File: ban

package info (click to toggle)
irssi 0.8.12-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,152 kB
  • ctags: 5,937
  • sloc: ansic: 54,466; sh: 8,869; perl: 2,460; makefile: 1,034
file content (24 lines) | stat: -rw-r--r-- 801 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

BAN %|[<channel>] [<nicks>]
BAN %|[-normal | -user | -host | -domain | -custom <type>] <nicks/masks>

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]

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