New Boolean Input (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[new] boolean input [named] %string% [labeled %component%] [initially %boolean%] [with true value %string%] [with false value %string%]

Description

Creates a checkbox for a dialog. It starts unchecked unless 'initially true' is given, matching the vanilla default. The true and false values are the strings sent back in the click payload, defaulting to "true" and "false".

Examples

set {_agree} to new boolean input named "agree" labeled "I agree" initially false

View source