From WikiChip
Difference between revisions of "mirc/identifiers/$lactivecid"
m (bot: correcting title) |
m |
||
Line 1: | Line 1: | ||
− | {{mirc title|$lactivecid Identifier}}'''$lactivecid''' returns the connection id related to the last active window. For instance if the you have more than one connection, let's say connections ''2'' and ''55'', and you activate a window in connection ''55'' and then switch back to connection ''2'', $ | + | {{mirc title|$lactivecid Identifier}}'''$lactivecid''' returns the connection id related to the last active window. For instance if the you have more than one connection, let's say connections ''2'' and ''55'', and you activate a window in connection ''55'' and then switch back to connection ''2'', $lactivecid is now set to ''55''. |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 14: | Line 15: | ||
{{mIRC compatibility|6.0}} | {{mIRC compatibility|6.0}} | ||
− | == See | + | == See also == |
− | {{mIRC|$activecid}} | + | * {{mIRC|$activecid}} |
− | + | * {{mIRC|$cid}} | |
− | {{mIRC|$cid}} | + | * {{mIRC|$scid}} |
− | + | * {{mIRC|$scon}} | |
− | {{mIRC|$scid}} | + | * {{mIRC|/scid}} |
− | |||
− | {{mIRC|$scon}} | ||
− | |||
− | {{mIRC|/scid}} | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|lactivecid]] |
Latest revision as of 17:11, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$lactivecid returns the connection id related to the last active window. For instance if the you have more than one connection, let's say connections 2 and 55, and you activate a window in connection 55 and then switch back to connection 2, $lactivecid is now set to 55.
Synopsis[edit]
$lactivecid
Parameters[edit]
None
Example[edit]
Echo to the currently active window the connection ID of the last active window
//echo -a $lactivecid
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]
mIRC identifier list