$getGlobalUserVar
$getGlobalUserVar will return the value of a given global user variable.
Usage
$getGlobalUserVar[varname;userID?;table?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| varname | string | Variable name. | true |
| userID? | number | User ID. | false |
| table? | string | Variable table. | false |
Example(s)
This will return the value of a variable called “Example”:
1client.command({2 name: "getGlobalUserVar",3 code: `4 $getGlobalUserVar[Example;$authorID;main]5 `6});