From WikiChip
mirc/identifiers/$cid
< mirc‎ | identifiers
Revision as of 18:25, 23 June 2014 by Zmodem (talk | contribs) (Created $cid identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$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