Custom Command
FunctionsVariables Functions

$getUserVar

Gets a user variable value

Usage

$getUserVar[variable;User ID (Optional)]

Example

!!exec Your warnings: $getUserVar[warns]

Your warnings: 4

!!exec Other user's warnings: $getUserVar[warns;12346786512312]

Other user's warnings: 1

Note: The return value will be undefined if the variable was not defined for that user.

Related Functions

Check out: $setUserVar

Check out: $deleteUserVar

Check out: $resetUserVar

On this page