Dialog - Confirmation Dialog (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.16.0

Syntax

open [new] confirmation dialog to %audiences%

Description

Open a dialog screen with two action buttons in footer, specified by 'yes' and 'no' actions. By default, the exit action is 'no' button. See [**Confirmation Dialog**](https://minecraft.wiki/w/Dialog#confirmation) on McWiki for further details. See [**snippets**](https://github.com/ShaneBeee/SkriptSnippets/tree/master/snippets/dialog) for comprehensive examples.

**Entries**: - `title` = Screen title, appearing at the top of the dialog, accepts a string/text component. - `external_title` = Name to be used for a button leading to this dialog (for example, on the pause menu), accepts a string.text component. If not present, `title` will be used instead. [Optional] - `body` = Optional section for body elements or a single body element. See [**Body Format on SkBee wiki**](https://github.com/ShaneBeee/SkBee/wiki/Dialogs#body-format) and [**Body Format on McWiki**](https://minecraft.wiki/w/Dialog#Body_format) for further info. - `inputs` = Optional section for input controls. See [**Input Control on SkBee wiki**](https://github.com/ShaneBeee/SkBee/wiki/Dialogs#input-control)and [**Input Control on McWiki**](https://minecraft.wiki/w/Dialog#Input_control_format) for further info. - `can_close_with_escape` = Can dialog be dismissed with Escape key. Defaults to true. [Optional] - `after_action` = An additional operation performed on the dialog after click or submit actions (accepts a string).Options are "close", "none" and "wait_for_response".See [**Common Entries on SkBee wiki**](https://github.com/ShaneBeee/SkBee/wiki/Dialogs#common-entries) for further info. - `actions` = Section for action buttons.See [**Action Format on SkBee wiki**](https://github.com/ShaneBeee/SkBee/wiki/Dialogs#action-format)and [**Action Format on McWiki**](https://minecraft.wiki/w/Dialog#Action_format) for further info.

View source