Project

General

Profile

Server » History » Revision 41

Revision 40 (Per Amundsen, 08/31/2017 06:48 PM) → Revision 41/55 (Per Amundsen, 08/31/2017 07:06 PM)

_Added in 1.5_ 

 */server [-switches] [host/ip address/network label] [port] [password] [-additional switches..]* 

 Connects to a new server. 

 *Switches* 

 table(ktable). 
 |_<.Switch|_<.Description| 
 |-4 | -4 - Connect to ipv4 addresses.| addresses. 
 |-6 | -6 - Connect to ipv6 addresses.| addresses. 
 |-e | -e - Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.| connection. 
 |-m | -m - Indicates connection should happen in a new server window.| window. 
 |-n | -n - Indicates connection should happen in a new server window, but not connect.| connect. 
 |-p | -p - Prevents the perform/commands from being applied.| applied. 
 |-f | -f - Prevents the channellist from popping up.| up. 
 |-o | -o - Prevents the autojoining of channels from being applied.| applied. 
 |-c | -c - Prevents the [[on CONNECT]] event from being triggered.| triggered. 
 |-z | -z - Minimizes the new server window.| window. 
 |-t | -t - Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.| connection. 
 |-s | TODO| -s - TODO 
 |-a | TODO| -a - TODO 
 |-r | TODO| -r - TODO 
 |-l -l N | - Use [[login method]] N| N 

 *Parameters* 

 table(ktable). 
 |_<.Parameter|_<.Description| 
 |[host/network [host/network label] | - Host to join, can be a ip address or host name, can also be a network label from the [[ServerList Dialog|Serverlist]] or the default [[ServerList Dialog|Serverlist]].| Dialog|Serverlist]]. 
 |[port] | [port] - Port to use. (+port indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection, *port indicates a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection)| connection) 
 |[password] | [password] - The server password to use, normally used for bnc login.| login. 

 *Additional switches* 

 table(ktable). 
 |_<.Parameter|_<.Description| 
 |[-j/-jn/-join [-j/-jn/-join #channel pass] | - Channels to join as a comma separated list. (if -jn or -j -n is used, the channels are minimized)| minimized) 
 |[-new/-m/] | [-new/-m/] - Indicates connection should happen in a new server window.| window. 
 |[-forcessl <notextile> 
 [-forcessl N] | <notextile>Forces - 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>| version)</notextile> 
 |[-n] | [-n] - Indicates connection should happen in a new server window, but not connect.| connect. 
 |[-z] | [-z] - Minimizes the new server window.| window. 
 |[-p/-pass [-p/-pass password] | - Another way to set the server password to use, normally used for bnc login.| login. 
 |[-e/-ssl] | [-e/-ssl] - Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.| connection. 
 |[-t] | [-t] - Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.| connection. 
 |[-u/-user [-u/-user username] | - The server login username to use, normally used for bnc login.| login. 
 |[-nick [-nick nick] | - The nick to use.| use. 
 |[-an/-anick [-an/-anick alternate nick] | - Alternative nick to use.| use. 
 |[-r/-real [-r/-real fullname] | - Fullname to use.| use. 
 |[-port [-port port] | - Another way to set what port to use.| use. 
 |[-i [-i nick anick email name] | - Another way to set nick, alternative nick, server username and fullname.| fullname. 
 |[-d [-d encoding] | - Encoding to use on this server.| server. 
 |[-cert [-cert file] | - Custom SSL client certificate to use for this server.| server. 
 |[-4] | [-4] - Connect to ipv4 addresses.| addresses. 
 |[-6] | [-6] - Connect to ipv6 addresses.| addresses. 
 |[-g] | [-g] - Prioritize ipv6 addresses.| addresses. 
 |<notextile>[-x [-x 4|5|h|n hostname port username password]</notextile> | password] - Connect using custom Sockv4/Sockv5/http or no proxy.| 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>