From WikiChip
Editing mirc/commands/server
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | + | /server -sar [server] [-p port] [-g group] [-w password] [-d description] [-l method password] | |
− | /server -sar [server] [-p port] [-g group] [-w password] [-d description | ||
− | + | /server [-46emnpfoczu] <server/groupname/N> [port] [password] [-l method password] [-key file] [-i nick anick email name] [-jn #channel pass] | |
− | /server [- | ||
== Switches == | == Switches == | ||
− | If any of the -sar switches are used | + | |
+ | |||
+ | If any of the -sar switches are used: | ||
* '''-s''' - sorts the servers list | * '''-s''' - sorts the servers list | ||
− | * '''-a''' - adds a server to the server list, if it exists, it is updated: mIRC | + | * '''-a''' - adds a server to the server list, if it exists, it is updated: mIRC tries to find a match for either the server address or the description in the existing servers list |
− | * '''-r''' - removes a server from the server list | + | * '''-r''' - removes a server from the server list |
− | + | * '''-g''' - changes the group | |
− | * '''-g''' - changes the group | + | * '''-w''' - changes the server password |
− | * '''-w''' - changes the server password | ||
* '''-d''' - changes the description | * '''-d''' - changes the description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Otherwise: | |
− | Otherwise | ||
* '''-4''' - allows a connection to an IPv4 server | * '''-4''' - allows a connection to an IPv4 server | ||
* '''-6''' - allows a connection to an IPv6 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 | * '''-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 | * '''-m''' - creates a new server window for that connection and connects to the server | ||
Line 46: | Line 36: | ||
== Parameters == | == Parameters == | ||
if any of the -sar switches are used: | if any of the -sar switches are used: | ||
− | * '''[server]''' - if specified, mIRC use that information to match for existing server entry | + | * '''[server]''' - if specified, mIRC use that information to match for existing server entry |
− | * '''[-p port]''' - specified the port number to be used, you can put different ports by | + | * '''[-p port]''' - specified the port number to be used, you can put different ports by seperating them with commas, prefix the port with a '''+''' for '''SSL''', and prefix it with '''*''' for a STARTTLS capable server |
− | * '''[-g group]''' - specifies the group for the server, if the value is 'none', it clears the setting | + | * '''[-g group]''' - specifies the group for the server, if the value is 'none', it clears the setting |
− | * '''[-w pass]''' - specifies the password for the server | + | * '''[-w pass]''' - specifies the password for the server, if the value is 'none', it clears the setting |
− | * '''[-d desc]''' - specifies the description for the server, if the value is 'none', it clears the setting | + | * '''[-d desc]''' - specifies the description for the server, if the value is 'none', it clears the setting |
− | * '''[-l method | + | * '''[-l method password]''' - changes the login method and the password field corresponding to the login method (even if the given method won't be using that corresponding password field, if you use "pass" for example). See below for more information about the '''-l''' method parameter |
− | |||
− | |||
− | |||
− | |||
− | |||
Otherwise: | 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, you can put different ports by | + | * '''[port]''' - if specified, the port number, you can put different ports by seperating them with commas, prefix the port with a + for SSL, and prefix it with * for a STARTTLS capable server |
* '''[password]''' - if specified, the password of the server, if any. | * '''[password]''' - if specified, the password of the server, if any. | ||
− | * '''[-i [nick [anick [email [name]]]]]''' - if specified, tells mIRC the different parameters to be used for the USER login sequence, parameters are in order and can't be | + | * '''[-i [nick [anick [email [name]]]]]''' - if specified, tells mIRC the different parameters to be used for the USER login sequence, parameters are in order and can't be ommited unless they are last: you cannot specify [anick] without specifying [nick] (see examples) |
* '''[-jn <#channels> [passwords]]''' - if -j is specified, it will join the channels, if -n is specified, it will join them minimized. The [passwords] syntax depends on the IRC server you are using, it will simply use '/join <#channel> [passwords]', but typically, it's a comma seperated list of password where * can be used to specify that no password should be used for that channel. | * '''[-jn <#channels> [passwords]]''' - if -j is specified, it will join the channels, if -n is specified, it will join them minimized. The [passwords] syntax depends on the IRC server you are using, it will simply use '/join <#channel> [passwords]', but typically, it's a comma seperated list of password where * can be used to specify that no password should be used for that channel. | ||
− | |||
* '''[-l method password]''' - specify the method to be used to identify to nickserv/service, '''method''' can be: | * '''[-l method password]''' - specify the method to be used to identify to nickserv/service, '''method''' can be: | ||
** <code>pass</code> - using this method means that the '''[password]''' parameter (the server password) is what contains your nickname's password (default if you don't use -l, typically IRC server will try to identify you to service such as nickserv using your current nickname and the server password provided) | ** <code>pass</code> - using this method means that the '''[password]''' parameter (the server password) is what contains your nickname's password (default if you don't use -l, typically IRC server will try to identify you to service such as nickserv using your current nickname and the server password provided) | ||
− | ** <code>sasl</code> - using this method means that mIRC will use SASL | + | ** <code>sasl</code> - using this method means that mIRC will use SASL to identify you. The next parameter can be: |
*** '''nick:password''' - nick is the registered nick/account and password is the password for that account (this indeed means that you can connect to IRC server with a nickname that is different from the nickserv nickname/account and still be logged to that account) | *** '''nick:password''' - nick is the registered nick/account and password is the password for that account (this indeed means that you can connect to IRC server with a nickname that is different from the nickserv nickname/account and still be logged to that account) | ||
*** '''password''' - a password only, mIRC will use your current nickname to auth you | *** '''password''' - a password only, mIRC will use your current nickname to auth you | ||
*** mIRC will first interpret this parameter as nick:pass if a ':' is present and only if that fails it will try that value as a password only, using your current nickname to auth. | *** mIRC will first interpret this parameter as nick:pass if a ':' is present and only if that fails it will try that value as a password only, using your current nickname to auth. | ||
− | ** <code>external</code> - This method uses a TLS | + | ** <code>external</code> - This method uses a TLS certificate and have services recognize it automatically. You must connect over SSL. |
** <code>msg</code> - This method means that mIRC will use '/msg nickserv identify' once the raw 001 is received. You must specify your password (without a nickname/account of the form nick:pass, just the password) after the method | ** <code>msg</code> - This method means that mIRC will use '/msg nickserv identify' once the raw 001 is received. You must specify your password (without a nickname/account of the form nick:pass, just the password) after the method | ||
** <code>nickserv</code> - This method means that mIRC will use '/nickserv identify' once the raw 001 is received. You must specify your password (without a nickname/account of the form nick:pass, just the password) after the method | ** <code>nickserv</code> - This method means that mIRC will use '/nickserv identify' once the raw 001 is received. You must specify your password (without a nickname/account of the form nick:pass, just the password) after the method | ||
− | |||
− | |||
== Example == | == Example == | ||
− | < | + | <syntaxhighlight lang="mIRC">;Specify the [nick] and [anick] |
− | /server irc. | + | /server irc.irc.com -i nick anick |
;Impossible: specifying the [email] without specifying [nick] and [anick] first | ;Impossible: specifying the [email] without specifying [nick] and [anick] first | ||
− | /server irc. | + | /server irc.irc.com -i * * emailtouse</syntaxhighlight> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Compatibility == | == Compatibility == | ||
Line 97: | Line 69: | ||
== See also == | == See also == | ||
+ | * [[List of commands - mIRC|List of commands]] | ||
+ | * [[List of identifiers - mIRC|List of identifiers]] | ||
* {{mIRC|$server}} | * {{mIRC|$server}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{mIRC command list}} | {{mIRC command list}} | ||
[[Category:mIRC commands|server command - mIRC]] | [[Category:mIRC commands|server command - mIRC]] |