Project

General

Profile

Actions

$scid » History » Revision 1

Revision 1/4 | Next »
Per Amundsen, 08/13/2015 11:17 AM


Added in 1.9.0

$scid(N)

Returns the Nth connection id.

Parameters

N - If N = 0, number of connection id's, otherwise the Nth 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

; Print number of connection id's.
//echo -ag $scid(0)

; Print the first connection id.
//echo -ag $scid(1)

; Evaluate $me on the first connection id.
//echo -ag $scid(1).me

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT