From WikiChip
Difference between revisions of "mirc/identifiers/$scid"
< mirc‎ | identifiers

(Created $scid identifier - mIRC)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''$scid''' allows you to get the server id for a connection, or specific details regarding the properties of a certain connection id.
+
{{mirc title|$scid Identifier}}'''$scid''' allows you to get the server id for a connection, or specific details regarding the properties of a certain connection id.
  
 
== Synopsis ==
 
== Synopsis ==
Line 21: Line 21:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v6.0
+
{{mIRC compatibility|6.0}}
 
 
Added On: 03/02/2002
 
  
 
== See Also ==
 
== See Also ==
[[$activecid identifier - mIRC|$activecid]]
+
* {{mIRC|$activecid}}
 
+
* {{mIRC|$cid}}
[[$cid identifier - mIRC|$cid]]
+
* {{mIRC|$lactivecid}}
 
+
* {{mIRC|$scon}}
[[$lactivecid identifier - mIRC|$lactivecid]]
+
* {{mIRC|/scid}}
 
+
{{mIRC identifier list}}
[[$scon identifier - mIRC|$scon]]
+
[[Category:mIRC identifiers|scid]]
 
 
[[/scid command - mIRC|/scid]]
 

Latest revision as of 14:03, 22 September 2017

$scid allows you to get the server id for a connection, or specific details regarding the properties of a certain connection id.

Synopsis[edit]

$scid(N)[.property]

Parameters[edit]

NReturns connection information based on a specific connection ID. Unlike $scon, $scid needs the connection id, not the Nth connection. If you specify N as 0, the total number of connections is returned.

Properties[edit]

[.property]If you specify a compatible identifier here, mIRC will provide you with that specific identifier property for the connection id parameter you've passed. See the examples below for more details.

Example[edit]

Echo the total number of connections to the active window

//echo -a $scid(0)

Use the optional identifier-supported property to echo the server name of connection ID 39 to the active window

//echo -a $scid(39).server

Use the optional identifier-supported property to echo the network name of connection ID 39 to the active window

//echo -a $scid(39).network

Compatibility[edit]

Added: mIRC v6.0
Added on: 03 Feb 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list