summaryrefslogtreecommitdiff
path: root/docs/help/in/network.in
blob: 046d9feb617e405b4aa8c0e52d568443f5e6a6f5 (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
49
50
51
52
53
54
55
56
57
58
59

%9Syntax:%9

@SYNTAX:network@

%9Parameters:%9

    LIST:            Displays the list of configured networks.
    ADD:             Adds a network to your configuration.
    REMOVE:          Removes a network from your configuration.

    -nick:           Specifies the nickname to use.
    -user:           Specifies the user identity to use.
    -realname:       Specifies the real name to use.
    -host:           Specifies the hostname to use.
    -usermode:       Specifies the user modes to set on yourself.
    -autosendcmd:    Specifies the commands, separated by the ';' character,
                     and enclosed within two "'" characters, to perform after
                     connecting.
    -querychans:     Specifies the maximum number of channels to put in one MODE
                     or WHO command when synchronizing.
    -whois:          Specifies the maximum number of nicknames in one WHOIS
                     command.
    -msgs:           Specifies the maximum number of nicknames in one PRIVMSG
                     command.
    -kicks:          Specifies the maximum number of nicknames in one KICK
                     command.
    -modes:          Specifies the maximum number of nicknames in one MODE
                     command.
    -cmdspeed:       Specifies the minimum amount of time, expressed in
                     milliseconds, that the client must wait before sending
                     additional commands to the server.
    -cmdmax:         Specifies the maximum number of commands to perform before
                     starting the internal flood protection.

    The name of the network to add, edit or remove; if no parameter is given,
    the list of networks will be displayed.

%9Description:%9

    Displays, adds, modifies or removes the network configuration of IRC
    networks.

    When using the ADD parameter on a network that already exists, the
    configuration will be merged with each other.

    We recommend using 'WAIT 2000' between the automated commands in order to
    prevent you from being kicked from the network due to flooding commands.

%9Examples:%9

    /NETWORK ADD -usermode +giw EFnet
    /NETWORK ADD -usermode +iw -nick mike -realname 'The one and only mike!' -host staff.irssi.org Freenode
    /NETWORK ADD -autosendcmd '^MSG NickServ identify WzerT8zq' Freenode
    /NETWORK ADD -autosendcmd '^MSG Q@CServe.quakenet.org AUTH mike WzerT8zq; WAIT 2000; OPER mike WzerT8zq; WAIT 2000; MODE mike +kXP' Quakenet
    /NETWORK REMOVE Freenode

%9See also:%9 CHANNEL, CONNECT, SERVER