description |
---|
Get The Global User Var |
This function returns the value of the given value for the given user.
This function has 1 required field
- Variable (Required)
- User ID (Optional)
Raw Usage: $getGlobalUserVar[variable;userID (optional)]
- Variable - The variable value we're getting for the <user>
- User ID - The user's variable value we're getting
Current User's Variable Value
bot.command({
name: "get",
code: `
$getGlobalUserVar[variable]`
})
Mentioned User's Variable Value
bot.command({
name: "get",
code: `
$getGlobalUserVar[variable;$mentioned[1]]`
})