$servervars » History » Version 1
Per Amundsen, 08/28/2017 02:28 PM
1 | 1 | Per Amundsen | _Added in 2.9_ |
---|---|---|---|
2 | |||
3 | *$servervars(N)* |
||
4 | |||
5 | Returns the Nth server variable discovered during raw 005 events. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | N - If N = 0. number of variables, otherwise the Nth variable. |
||
10 | |||
11 | *Properties |
||
12 | |||
13 | .value - Returns the value for the variable if it was discovered as key=value. |
||
14 | .key - Returns the key/name of the variable. |
||
15 | |||
16 | *Example* |
||
17 | |||
18 | <pre> |
||
19 | ; Check for channel types |
||
20 | //echo -ag $iif($servervars(CHANTYPES),channel types for this server is $servervars(CHANTYPES),channel types was not found) |
||
21 | </pre> |