$servervars » History » Version 3
Per Amundsen, 02/01/2020 06:38 AM
1 | 1 | Per Amundsen | _Added in 2.9_ |
---|---|---|---|
2 | |||
3 | 3 | Per Amundsen | *$servervars(N|name)* |
4 | 1 | Per Amundsen | |
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 | 2 | Per Amundsen | *Properties* |
12 | 1 | Per Amundsen | |
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> |