summaryrefslogtreecommitdiff
path: root/docs/help/in/channel.in
blob: 86e824c2089a97cef3e9d7ec4aac193b282afd9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

%9Syntax:%9

@SYNTAX:channel@

%9Parameters:%9

    LIST:       Displays the list of configured channels.
    ADD:        Adds a channel to your configuration.
    MODIFY:     Modifies a channel in your configuration.
    REMOVE:     Removes a channel from your configuration.

    -auto:      Automatically join the channel.
    -noauto:    Don't join the channel automatically.
    -bots:      The list of hostnames send automated commands to.
    -botcmd:    The automated commands to perform.

    The channel and network to add to the configuration; you can optionally
    specify the password of a channel.

    If no parameters are given, the list of channels you have joined will be
    displayed.

%9Description:%9

    Adds, removes or displays the configuration of channels; this method is
    used to automate and simplify your workflow.

    You can use the ADDALLCHANS command, which is a default alias, to add all
    the channels you are present on into the configuration.

%9Examples:%9

    /CHANNEL
    /CHANNEL LIST
    /CHANNEL ADD -auto #irssi Freenode
    /CHANNEL ADD -auto #basementcat Quakenet secret_lair
    /CHANNEL ADD -auto -bots '*!@*.irssi.org *!bot@irssi.org' -botcmd 'msg $0 op WzerTrzq' #hideout Freenode
    /CHANNEL ADD -auto -bots 'Q!TheQBot@CServe.quakenet.org' -botcmd '^MSG Q op #irssi' #irssi Quakenet
    /CHANNEL MODIFY -noauto #irssi Freenode
    /CHANNEL REMOVE #hideout Freenode

%9Special Example:%9

    /ADDALLCHANS

%9See also:%9 JOIN, TS