> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/options/number-option.md).

# Number Option

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FonsIwioc84N7Waj1B51k%2Fimage_2024-06-07_184211650.png?alt=media&amp;token=d6fec233-70aa-4b19-a1be-97007153a7ae" alt=""><figcaption></figcaption></figure>

The number option block allows for any integer to be input as a value as used later on in the commands actions.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FfJnd5hEmSdg0MenX9ML4%2Fimage_2024-06-07_181230617.png?alt=media&amp;token=d637f98d-de00-44f4-b9f0-0675f18fe079" alt=""><figcaption></figcaption></figure>

You can retrieve the variable of the option via the **Clipboard** or the block itself. The format of the variable is `{option_optionname}`, where `optionname` is the [name](#option-name) of the option.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FhZibGtGCZsEMEkCIliHp%2Fimage_2024-06-08_124041772.png?alt=media&amp;token=9cf6ac9c-abfc-439c-88fc-b625084ff326" alt=""><figcaption></figcaption></figure>

## Option Name

This field requires an input for your unique option name. The designated name will then be the reference for your option variable.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FSZELICRSjHNEpQOVoswY%2Fimage_2024-06-07_181308913.png?alt=media&amp;token=841d6602-2370-438a-bb92-0a53834b6401" alt=""><figcaption></figcaption></figure>

## Option Description

The option description field allows you to assign a custom description to your option. It is useful to describe what the option is used for.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FfT2A9OvhiZEJApDNO9Ng%2Fimage_2024-06-07_181343351.png?alt=media&amp;token=75317c68-64ea-4e04-89bd-eaebd368aa81" alt=""><figcaption></figcaption></figure>

## Set Required

With this switch you are able to toggle if the option should be required or not in order to execute the command.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FhKIaashIENb9SQ78zTUP%2Fimage_2024-06-07_181410655.png?alt=media&amp;token=30c7a5ea-8710-4a3b-8885-7f0f04505463" alt=""><figcaption></figcaption></figure>

## Add Choices

This is an optional section is where you can add choices into your option. Choices allow the user to select something from a fixed set of values. There is a maximum number of 25 choices.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FypZpiWmtfKu1RDdNSfv6%2FScreenshot%202023-02-17%20at%209.56.50%20AM.png?alt=media&amp;token=bcf3f9df-4c58-45d8-b8c3-1c4e110a9c61" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FopE6AIlwephc2Fzdll1T%2FScreenshot%202023-02-17%20at%209.57.13%20AM.png?alt=media&amp;token=ceccc0ca-7062-4998-9007-b7f9cad030cf" alt=""><figcaption></figcaption></figure>
