New Text Input (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[new] text input [named] %string% [labeled %component%] [with initial [value] %string%] [with max length %number%] [with width %number%] [(multiline|multi-line) [with max lines %number%]]

Description

Creates a text field for a dialog. The name is the key the value comes back under in 'dialog input'. Width defaults to 200 and max length to 32. A multiline field with no max lines given grows freely.

Examples

set {_name} to new text input named "nick" labeled "Nickname" with max length 16
set {_essay} to new text input named "reason" labeled "Reason" multiline with max lines 5

View source