LiminaliaLiminalia

@text-input

Let the player type text and store it in a variable (waits until they confirm)

Parameters

variableRequired
Variable (game.x and so on)
Variable to store the entered text in
prompt
Text
Heading above the input field (such as "Enter your name")
initial
Text
Default: ""
Text already in the field
placeholder
Text
Default: ""
Hint shown faintly while the field is empty
max
Integer (1 or more)
Default: 1000
Maximum number of characters
required
true / false
Default: false
Don't allow confirming while the field is empty (or only spaces)
mode
text / number / password
Default: text
Kind of input. number uses the number keyboard and accepts digits only; password hides what's typed (for PINs and such)
pattern
Text
Accepted format (a regular expression; confirming is disabled until the whole text matches, like [0-9]{4})

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this command:

  • [edit]

How each attribute converts, and what isn't converted, is in TyranoScript import.