# Store Value in Variable

| Field                | Description                                                                                                                                                                                                                                                                                                                                                     |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Variable Name**    | The name of the variable that will be saved.                                                                                                                                                                                                                                                                                                                    |
| **Parameter Type**   | Whether this is a text or numeric variable.                                                                                                                                                                                                                                                                                                                     |
| **Variable Type**    | The type of variable this value will be saved as.                                                                                                                                                                                                                                                                                                               |
| **Parameter Number** | <p>The parameter number field uses the following convention:</p><p>!command parameter1 parameter 2 parameter3 and so on...<br></p><p>Use 0 to take all parameters after the command.<br></p><p>Use a number followed by "+" to take that parameter and all following.</p><p><br>Ex: !command one two three - Using 2+ here will save the value "two three".</p> |

![](/files/-Mgd7qmB1gMjpQbF6mpv)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discordbotstudio.org/response-nodes/variable-category/store-value-in-variable.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
