From WikiChip
mirc/identifiers/$cid
< mirc‎ | identifiers
Revision as of 19:35, 23 June 2014 by Zmodem (talk | contribs) (See Also)

$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