$resetVar
Resets the global variables data associated with the variable name back to default value.

FUNCTION USAGE

  • $resetVar[varName]

Properties:

varName - The global variable being reset of all its data.

Example: Resetting the global variable value back to default.

1
bot.Command({
2
name: "reset",
3
code:`
4
__Reset everything on this variable! This even goes for all servers i'm in!__
5
$resetServerVar[serverMsgs]
6
`})
Copied!
Last modified 6mo ago
Copy link
Contents
Properties: