From WikiChip
Difference between revisions of "mirc/commands/server"
< mirc‎ | commands

(Synopsis)
(Parameters)
Line 30: Line 30:
 
== Parameters ==
 
== Parameters ==
 
'''if any of the''' -sar switch is used:
 
'''if any of the''' -sar switch is used:
 +
* '''[server]''' - if specified, mIRC use that information to match for existing server entry
 +
 +
 +
Otherwise:
 
* ''' <server/groupname/N>''' - either a server address, or if you give a groupname, it will cycle through all the servers in the server list which have that group name until it connects to one of them, if you give a number, mIRC will try to connect to the Nth server in the server list in the connect dialog
 
* ''' <server/groupname/N>''' - either a server address, or if you give a groupname, it will cycle through all the servers in the server list which have that group name until it connects to one of them, if you give a number, mIRC will try to connect to the Nth server in the server list in the connect dialog
 
* '''[port]''' - if specified, the port number, prefix it with a '+' sign to use ssl, default is 6667
 
* '''[port]''' - if specified, the port number, prefix it with a '+' sign to use ssl, default is 6667
Line 35: Line 39:
 
* '''[-i nick anick email name]''' - if specified, you must give the four parameter to be used in the USER login sequence
 
* '''[-i nick anick email name]''' - if specified, you must give the four parameter to be used in the USER login sequence
 
* '''[-jn #channel pass]''' - if -j is specified, it will join the channels, if -n is specified, it will join them minimized
 
* '''[-jn #channel pass]''' - if -j is specified, it will join the channels, if -n is specified, it will join them minimized
 
Otherwise:
 
* '''[server]''' - if specified, mIRC use that information to match for existing server entry
 
 
  
 
== Example ==
 
== Example ==

Revision as of 09:30, 13 January 2014

The /server command can be used to initiate a new server connection. Using /server with no parameters will connect to the last server you used. If you use the server command while still connected, you will be disconnected with your normal quit message and will then connect to the specified server.

Synopsis

/server -sar [server] [-p port] [-g group] [-w password] [-d description]
/server [-46emnsarpfocz] <server/groupname/N> [port] [password] [-i nick anick email name] [-jn #channel pass]

Switches

  • -s - sorts the servers list
  • -a - adds a server, if it exists, it is updated
  • -r - removes a server
  • -p - specified the port number to be used
  • -g - specifies the group for the server, if the value is 'none', it clears the setting
  • -w - specifies the password for the server, if the value is 'none', it clears the setting
  • -d - specifies the description for the server, if the value is 'none', it clears the setting

OR

  • -4 - allows a connection to an IPv4 server
  • -6 - allows a connection to an IPv6 server
  • -e - initiates a secure connection to an SSL capable server, alternatively you can prefix the port number with a plus sign
  • -m - creates a new server window for that connection and connects to the server
  • -n - creates a new server window for that connection but does not connect to the server
  • -p - prevents the perfom from being applied
  • -f - prevents the favorites folder from poping up
  • -o - prevents the autojoining of channels from being applied
  • -c - prevents the on connect from being triggered
  • -z - minimizes the new server window

Parameters

if any of the -sar switch is used:

  • [server] - if specified, mIRC use that information to match for existing server entry


Otherwise:

  • <server/groupname/N> - either a server address, or if you give a groupname, it will cycle through all the servers in the server list which have that group name until it connects to one of them, if you give a number, mIRC will try to connect to the Nth server in the server list in the connect dialog
  • [port] - if specified, the port number, prefix it with a '+' sign to use ssl, default is 6667
  • [password] - the password of the server if any
  • [-i nick anick email name] - if specified, you must give the four parameter to be used in the USER login sequence
  • [-jn #channel pass] - if -j is specified, it will join the channels, if -n is specified, it will join them minimized

Example

Compatibility

Added: 2.1a

Added On: 28/02/95

Note: Individual switches were not taken into consideration.

See also