Custom Command
FunctionsVariables Functions

$getUserVar

Gets a user variable value

Usage

$getUserVar[variable;User ID (Optional)]

Example

Member
9/5/2026

!!exec Your warnings: $getUserVar[warns]

Custom Command
APP
9/5/2026

Your warnings: 4

Member
9/5/2026

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

Custom Command
APP
9/5/2026

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