This function creates variable(s) that can be used later
This function has 1 required field
- Variable (Required)
- Variable 2 (Optional)
Raw Usage: $createVar[varName:varValue;varName:varValue (optional);...]
- Var Name - The name of the variable
- Var Value - The default value of the variable
Without optional fields
bot.command({
name: 'createVar',
code: `$createVar[money:0]`
})
With optional fields
bot.command({
name: 'createVar',
code: `$createVar[money:0;trusted:false]`
})