Set Variable

This action allowed you to set the value of a custom variable. This can be done using options, other variables, or via pre-set values.

Check the Data Storage page on how to create a Custom Variable!

Set Variable

Custom Variable

From the drop-down menu, you can choose the variable you want to set the value of. Want to create a custom variable? See Data Storage.

User Target

If using a user variable you can choose who the value applies too.

ActionResponse

User who used the command

Applies the value of the Set Variable action to the executor of the command.

User option

Applies the value of the Set Variable action to the User Option within the command. You can use option variables, but also normal variables for this.

User ID

Applies the value of the Set Variable action to the user by using the User's Discord ID.

Value

You can use this to set the value of a variable. This can be used later to recall stored information. To view the value of the variable, replace 'variable' in {BGVAR_variable} with the variable name.

You can utilize other variables in the value box.

Last updated