Understand what updates and what stays fixed
A live GUI label is refreshed as the game values change. The score label and the score inside Add a point can therefore stay in step. A Show Message sentence is expanded when that message is shown; it is not a permanent score display.
Figure 7. After one click, both the label and the button caption show the new score. The input and puzzle controls are separate from that display.
| Authored text | What to expect |
|---|---|
| Score: $$score | Displays the current score variable. |
| Visitor: $$visitor_name | Displays the current visitor_name String. |
| Open: $$register_open | Shows the Boolean as its text representation. It does not choose a friendly sentence automatically. |
| Unknown: $$missing | The unknown variable token remains visible so you can find the missing ID. |
Arithmetic can turn a whole amount into a numeric value displayed with .0. If presentation needs “6” instead of “6.0”, format a separate display String in a script. The wildcard does not contain a number-formatting command.
For a friendly Boolean result, set feedback to a sentence such as The register is open. A raw true/false value is useful during testing but is rarely the best finished message.
