Project

General

Profile

Actions

Added in 1.9.0

$scon(N)

Returns the Nth connection id.

See also /scon, /scid, $scid.

Parameters

Parameter Description
N If N = 0, number of connection id's, otherwise the Nth connection id.

Properties

Property Description
.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 $scon(0)

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

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

Updated by Per Amundsen about 1 year ago · 3 revisions

Also available in: PDF HTML TXT