11. Decide what Enter should do
The single-line Enter options are independent. Enable only the behavior that suits the field. For the visitor-name form, the button submits the name, so these options can remain off.
| Type Settings option | What happens on Enter |
|---|---|
| Clear Single-Line Text When Enter Is Pressed | Clears the current field after submission. This can be enabled without running the parser. |
| Run Text Parser Command When Enter Is Pressed | Sends the submitted sentence to the game's text parser. The parser must be enabled and configured. |
| Return Focus To Text Box After Enter | Keeps or restores typing focus so the player can enter another line. |
| Multiline | Switches to a notes-style editor. The single-line Enter/parser and password controls are hidden. Enter is then for a new line. |
Figure 18. The command-entry example has all three Enter options enabled and Multiline off.
The parser receives the submitted sentence before a configured clear empties the box. A separate button script that reads the text box after it has been cleared will naturally see an empty field.
Enter is not a general “run any script on this text” switch here. Use a submit button for the name/password recipes. Use the parser option when you want a real parser command.
