Actions
Added in 1.9.6
$envvar(name|N)
Returns environment variables.
Returns different variable values between 64 bit and 32 bit AdiIRC.
Properties
Property | Description |
.name | Return name of the variable. |
.value | Return value of the variable. |
Parameters
Parameter | Description |
name|N | Name of the variable, if N = 0, total number of variables, otherwise the Nth variable. |
Example
; List number of variables. //echo -ag Number of variables is $envvar(0) ; List the name of the 15th variable. //echo -ag The 15th variable is $envvar(15) ; List the value of the 'APPDATA' variable. //echo -ag Value of APPDATA is $envvar(APPDATA)
Updated by Per Amundsen almost 2 years ago · 9 revisions