New Single Option Input (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[new] single option input [named] %string% with options %dialogoptions% [labeled %component%] [with width %number%]

Description

Creates a dropdown for a dialog. Options come from the 'dialog option' expression. If no option is marked as selected, the client shows the first one.

Examples

set {_mode} to new single option input named "mode" with options {_easy}, {_hard} labeled "Difficulty"

View source