(Created $scid identifier - mIRC) |
m (Inject moved page $scid identifier - mIRC to mirc/identifiers/$scid) |
(No difference)
|
Revision as of 09:26, 4 January 2015
$scid allows you to get the server id for a connection, or specific details regarding the properties of a certain connection id.
Synopsis
$scid(N)[.property]
Parameters
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
[.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
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
Added: mIRC v6.0
Added On: 03/02/2002