Project

General

Profile

$servervars » History » Revision 5

Revision 4 (Per Amundsen, 02/01/2020 06:38 AM) → Revision 5/11 (Per Amundsen, 02/01/2020 06:39 AM)

_Added in 2.9_ 

 *$servervars(N|key)* *$servervars(N|name)* 

 Returns the Nth server variable discovered during raw 005 events. 

 *Parameters* 

 N - If N = 0. number of variables, otherwise the Nth variable. 
 key name - Returns the value key from a key=value name=key 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>