Project

General

Profile

$servervars » History » Version 4

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 4 Per Amundsen
name - Returns the key from a name=key variable.
11 1 Per Amundsen
12 2 Per Amundsen
*Properties*
13 1 Per Amundsen
14
.value - Returns the value for the variable if it was discovered as key=value.
15
.key - Returns the key/name of the variable.
16
17
*Example*
18
19
<pre>
20
; Check for channel types
21
//echo -ag $iif($servervars(CHANTYPES),channel types for this server is $servervars(CHANTYPES),channel types was not found)
22
</pre>