6. Cycle or randomise alternate wording
Two special separators choose an alternative before the other text tokens are expanded. Put a complete alternative on each side of the separator.
| Separator | Result |
|---|---|
| @||@ | Cycles through the alternatives in order, then returns to the first. |
| @//@ | Chooses one alternative randomly. A later choice can repeat the same alternative. |
Hello, @PlayerName.@||@Welcome back, @PlayerName.@||@The register is ready.1. Put that complete string in a label on the register panel.
2. Start a fresh gameplay preview and open the register.
3. Read the greeting, close the panel and open it again.
4. Repeat once more. The sequential greeting should advance without flickering while the panel stays open.
Figure 9. The second opening uses the next greeting. The chosen line stays put while that GUI display remains open.
The GUI keeps the selected alternative for that display; its $$ variables can still update. Hidden GUI text can be prepared during startup, so the first visible line may already be a later choice. Use a variable for a real visit counter. Showing an already visible GUI is not another reopening.
Use one separator type in a single source string. Do not mix cycling and random separators and expect nested choices. Other separators such as {one|two} are not substitutes for the supported syntax.
