Project

General

Profile

$servervars » History » Revision 4

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

_Added in 2.9_ 

 *$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. 
 name - Returns the key from a 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>