> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/quest-blocks/optiondialog.md).

# Option Dialog Block

![Option Dialog Block](/files/-LNjFR9ZyIBCEuPFVa0W)

The option dialog block will generate a dialog box with the items in a specified list, up to nine options.

The block returns a promise with the zero-indexed item number in the list the user clicked.

## Parameters

| Name        | Usage                                | Type | Other |
| ----------- | ------------------------------------ | ---- | ----- |
| Dialog Text | The Text the NPC should be saying    | Text |       |
| Options     | The options the user can choose from | List |       |

This block is compatible with the [Promise Block](/quest-editor/quest-blocks/promise.md)
