en:txt:variables
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:txt:variables [2026/05/03 18:47] – Harmonize FR/EN language switch cyrilfiesta | en:txt:variables [2026/08/31 20:48] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| **Language / Langue :** [[fr: | **Language / Langue :** [[fr: | ||
| - | ====== | + | ====== Variables |
| - | Legacy numeric | + | ===== Numeric |
| + | |||
| + | Numeric variables are declared on **line 3** of a room. Format: | ||
| + | |||
| + | < | ||
| + | variable_name|variable|initial_value|displayed_text|description | ||
| + | </ | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ^ Syntax ^ Effect ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | To display | ||
| + | |||
| + | ===== Text variables | ||
| + | |||
| + | Text variables hold a word or a sentence. Keyword: | ||
| + | |||
| + | < | ||
| + | variable_name|variable_t|initial_value|change_text|description | ||
| + | </ | ||
| + | |||
| + | To display it inside a text: '' | ||
| + | |||
| + | The player can change the value with the '' | ||
| + | |||
| + | ===== Online variables | ||
| + | |||
| + | Online variables are **kept between games and between servers**. They are declared **after the last room** (after the final '' | ||
| + | |||
| + | < | ||
| + | variable_name_o|default_value|description | ||
| + | </ | ||
| + | |||
| + | The name **must | ||
| + | |||
| + | Predefined variable: '' | ||
| + | |||
| + | ===== System variables ===== | ||
| + | |||
| + | ^ Variable ^ Value ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| - | Prefer YAML '' | ||
en/txt/variables.1777826879.txt.gz · Dernière modification : de cyrilfiesta
