Server » History » Revision 34
Revision 33 (Per Amundsen, 02/18/2017 01:59 PM) → Revision 34/55 (Per Amundsen, 02/18/2017 02:00 PM)
_Added in 1.5_
*/server {-switches[ [host/ip address/network label] [port] [password] [-additional switches..]*
Connects to a new server.
*Switches*
-4 - Connect to ipv4 addresses.
-6 - Connect to ipv6 addresses.
-e - Indicates connection should be a SSL connection.
-m - Indicates connection should happen in a new server window.
-n - Indicates connection should happen in a new server window, but not connect.
-p - Prevents the perform/commands from being applied.
-f - Prevents the channellist from popping up.
-o - Prevents the autojoining of channels from being applied.
-c - Prevents the [[on CONNECT]] event from being triggered.
-z - Minimizes the new server window.
-t - Indicates connection should be a STARTTLS connection.
-s - TODO
-a - TODO
-r - TODO
*Parameters*
[host/network label] - Host to join, can be a ip address or host name, can also be a network label from the serverlist or the default serverlist.
[port] - Port to use. (+port indicate connection should be a SSL connection, * indicates a STARTTLS connection)
[password] - The server password to use, normally used for bnc login.
*Additional switches*
[-j/-join #channel pass] - Channels to join as a comma separated list.
[-new/-m/] - Indicates connection should happen in a new server window.
<notextile>
[-forcessl N] - Forces a specific SSL/TLS version, 0 = ssl2, 1 = ssl3, 2 = tls1.0, 3 = tls1.1, 4 = tls1.2 (tls1.1 and tls1.2 is only available in the .net 4+ version)</notextile>
[-n] - Indicates connection should happen in a new server window, but not connect.
[-z] - Minimizes the new server window.
[-p/-pass password] - Another way to set the server password to use, normally used for bnc login.
[-e/-ssl] - Indicates connection should be a SSL connection.
[-t] - Indicates connection should be a STARTTLS connection.
[-u/-user username] - The server login username to use, normally used for bnc login.
[-nick nick] - The nick to use.
[-an/-anick alternate nick] - Alternative nick to use.
[-r/-real fullname] - Fullname to use.
[-port port] - Another way to set what port to use.
[-i nick anick email name] - Another way to set nick, alternative nick, server username and fullname.
[-d encoding] - Encoding to use on this server.
[-cert file] - Custom SSL client certificate to use for this server.
[-4] - Connect to ipv4 addresses.
[-6] - Connect to ipv6 addresses.
[-g] - Prioritize ipv6 addresses.
[-l N] - Use [[login method]] N.
[-x 4|5|h|n hostname port username password] - Connect using custom Sockv4/Sockv5/http or no proxy.
*Example*
<pre>
; Connect irc.nordicirc.com port 6667 in a new server window with nick MyNick, alt nick MyNick_ and join channels #chan1,#chan2,#chan3.
/server -m irc.nordicirc.com 6667 -nick MyNick -an MyNick_ -j #chan1,#chan2,#chan3
; Connect a network label from the serverlist named 'NordicIRC'
/server -m NordicIRC
; Connect a network label from the default serverlist named 'Freenode'
/server -m Freenode
</pre>