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

(Created $cid identifier - mIRC)
 
(See Also)
Line 31: Line 31:
  
 
[[/scid command - mIRC|/scid]]
 
[[/scid command - mIRC|/scid]]
 +
 +
[[Category:mIRC identifiers]]

Revision as of 18:35, 23 June 2014

$cid returns the connection id to the script that requests it.

Synopsis

$cid

Parameters

None

Example

Echo to the currently active window the connection ID it is related to

//echo -a $cid

'Code an alias to echo to the active window the connection ID for that script

alias showcid {
  echo -a $cid
}

Compatibility

Added: mIRC v6.0

Added On: 03/02/2002

See Also

$activecid

$lactivecid

$scid

$scon

/scid