$servervars » History » Revision 3
Revision 2 (Per Amundsen, 08/28/2017 02:29 PM) → Revision 3/11 (Per Amundsen, 02/01/2020 06:38 AM)
_Added in 2.9_ *$servervars(N|name)* *$servervars(N)* Returns the Nth server variable discovered during raw 005 events. *Parameters* N - If N = 0. number of variables, otherwise the Nth variable. *Properties* .value - Returns the value for the variable if it was discovered as key=value. .key - Returns the key/name of the variable. *Example* <pre> ; Check for channel types //echo -ag $iif($servervars(CHANTYPES),channel types for this server is $servervars(CHANTYPES),channel types was not found) </pre>