$scid » History » Revision 3
Revision 2 (Per Amundsen, 08/13/2015 11:19 AM) → Revision 3/4 (Per Amundsen, 08/13/2015 11:31 AM)
_Added in 1.9.0_ *$scid(N)* Returns the matching [[$cid|connection id]]. [[$cid]] connection id. *Parameters* N - If N = 0, number of connection id's, otherwise the matching [[$cid|connection id]]. [[$cid]] connection id. *Properties* .id - If you specify a property which is an identifier, it returns the value of that identifier for that connection. This also works for custom identifiers. *Example* <pre> ; Print number of connection id's. //echo -ag $scid(0) ; Print the first connection id. //echo -ag $scid($scon(1)) ; Evaluate $me on the first connection id. //echo -ag $scid($scon(1)).me </pre>