> 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](https://602309350-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNeYKoJ5VTmJdlF1rx1%2F-LNjFP-urXkGWJ9Q9W-z%2F-LNjFR9ZyIBCEuPFVa0W%2Foption_dialog.jpg?generation=1538391131592347\&alt=media)

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)
