
%9Syntax:%9

CONNECT %|[-4 | -6] [-ssl] [-ssl_cert <cert>] [-ssl_pkey <pkey>] [-ssl_pass <password>] [-ssl_verify] [-ssl_cafile <cafile>] [-ssl_capath <capath>] [-!] [-noautosendcmd] [-noproxy] [-network <network>] [-host <hostname>] [-rawlog <file>] <address>|<chatnet> [<port> [<password> [<nick>]]]

%9Parameters:%9

    -4:             Connects using IPv4.
    -6:             Connects using IPv6.
    -ssl:           Connects using SSL encryption.
    -ssl_cert:      The SSL client certificate file.
    -ssl_pkey:      The SSL client private key, if not included in the
                    certificate file.
    -ssl_verify:    Verifies the SSL certificate of the server.
    -ssl_cafile:    The file with the list of CA certificates.
    -ssl_capath:    The directory which contains the CA certificates.
    -noproxy:       Ignores the global proxy configuration.
    -network:       The network this connection belongs to.
    -host:          The hostname you would like to connect from.
    -rawlog:        Immediately open rawlog after connecting.
    -!:             Doesn't autojoin channels.
    -noautosendcmd: Doesn't execute autosendcmd.

    A network or server to connect to; you can optionally specify a custom port,
    password and nickname.

%9Description:%9

    Opens a new connection to the specified network or server; existing
    connections are kept.

%9Examples:%9

    /CONNECT Freenode
    /CONNECT -6 Freenode
    /CONNECT -4 -! -host staff.irssi.org -network Freenode orwell.freenode.net
    /CONNECT irc.irssi.org 6667 WzerT8zq mike

%9See also:%9 DISCONNECT, RMRECONNS, SERVER

