Project

General

Profile

Actions

$servervars » History » Revision 6

« Previous | Revision 6/11 (diff) | Next »
Per Amundsen, 02/02/2020 12:44 AM


Added in 2.9

$servervars(N|key)

Returns the Nth server variable discovered during raw 004 and 005 events.

Raw 004 are added as usermodes, channelmodes, channelmodeargs.

Parameters

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

; Check for channel types
//echo -ag $iif($servervars(CHANTYPES),channel types for this server is $servervars(CHANTYPES),channel types was not found)

Updated by Per Amundsen about 4 years ago · 6 revisions

Also available in: PDF HTML TXT