From WikiChip
Editing mirc/identifiers/$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 14: Line 14:
 
* '''.desc''' - returns the description of that server (returns Random server if N = -1 and you're not connecting using the server list)
 
* '''.desc''' - returns the description of that server (returns Random server if N = -1 and you're not connecting using the server list)
 
* '''.pass''' - returns the server password  
 
* '''.pass''' - returns the server password  
* '''.port''' - returns the port parameter (same as $port if you're not using the server list)
+
* '''.port''' - returns the port parameter (not filled with N = -1 and you're not connecting using the server list)
 
* '''.group''' - returns the group name (returns the $network value if N = -1 and you're not connecting using the server list)
 
* '''.group''' - returns the group name (returns the $network value if N = -1 and you're not connecting using the server list)
 
* '''.method''' - returns the login method (used in conjunction with {{mirc|/server|/server -l}})
 
* '''.method''' - returns the login method (used in conjunction with {{mirc|/server|/server -l}})
 
* '''.methodpass''' - returns the password associated with the login method
 
* '''.methodpass''' - returns the password associated with the login method
 
* '''.keytype''' - returns the type/mode of the SSL certificate, "global" or "local", depending on if you're using the global certificate or a specific certificate
 
* '''.keytype''' - returns the type/mode of the SSL certificate, "global" or "local", depending on if you're using the global certificate or a specific certificate
* '''.key''' - returns the the private certificate filename for SSL
+
* '''.key''' - returns the key of the SSL certificate in use
 
* '''.itype''' - returns the type/mode of the user informations, "global" or "local", depending on if you're using the global user infos (nick, email, ident etc) or specific infos per server (via /server -i or by editing the server list)
 
* '''.itype''' - returns the type/mode of the user informations, "global" or "local", depending on if you're using the global user infos (nick, email, ident etc) or specific infos per server (via /server -i or by editing the server list)
 
* '''.nick''' - return the nickname associated with the connection (editing server list or /server -i), return $null if you connect without the server list and without /server -i
 
* '''.nick''' - return the nickname associated with the connection (editing server list or /server -i), return $null if you connect without the server list and without /server -i
Line 26: Line 26:
 
* '''.user''' - return the username associated with the connection (editing server list or /server -i), return $null if you connect without the server list and without /server -i
 
* '''.user''' - return the username associated with the connection (editing server list or /server -i), return $null if you connect without the server list and without /server -i
 
* '''.encoding''' - return the encoding's ID associated with the connection (editing server list or /server -i), return 0 if you connect without the server list and without /server -encoding
 
* '''.encoding''' - return the encoding's ID associated with the connection (editing server list or /server -i), return 0 if you connect without the server list and without /server -encoding
* '''.connect''' - returns $true if the Other tab in the server definition has the "Connect to server" checkbox ticked, otherwise returns $false.
+
 
* '''.minimize''' - returns $true if the Other tab in the server definition has the "Minimize window" checkbox ticked, otherwise returns $false.
 
  
 
== Examples ==
 
== Examples ==
Line 43: Line 42:
  
 
== See Also ==
 
== See Also ==
* {{mIRC|/server}}
+
* {{mIRC|$host}}
 +
* {{mIRC|$ip}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
 
[[Category:mIRC identifiers|server]]
 
[[Category:mIRC identifiers|server]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)