en:txt:texte
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| en:txt:texte [2026/05/03 18:29] – Add English wiki page using real engine keys cyrilfiesta | en:txt:texte [2026/08/31 20:48] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | **Language: | + | **Language |
| - | ====== | + | ====== Text and formatting (.txt format) |
| - | Legacy TXT scenarios support plain text, inline variables, media markup and some Markdown rendering depending on the selected scenario mode. | + | ===== Special characters ===== |
| - | | + | ^ Syntax ^ Effect ^ |
| - | | + | | '' |
| - | | + | | ''&&'' |
| - | * ''<< | + | | ''##'' |
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | ===== Sounds and music ===== | ||
| + | |||
| + | To play a sound, surround its URL with '' | ||
| + | |||
| + | < | ||
| + | The monster roars! << | ||
| + | </ | ||
| + | |||
| + | Supported formats: mp3, ogg, wav. The bot joins the '' | ||
| + | |||
| + | If a sound is already playing, it is stopped before the new one starts. | ||
| + | |||
| + | ===== Images ===== | ||
| + | |||
| + | To display an image, surround its URL with '' | ||
| + | |||
| + | < | ||
| + | [[https:// | ||
| + | </ | ||
| + | |||
| + | ===== Variables inside text ===== | ||
| + | |||
| + | To display the value of a numeric variable: '' | ||
| + | |||
| + | To display the value of a text variable: '' | ||
| + | |||
| + | < | ||
| + | You have v_hp_v hit points left. | ||
| + | Hello t_player_name_t, | ||
| + | </ | ||
| + | |||
| + | ===== System variables ===== | ||
| + | |||
| + | ^ Variable ^ Value ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | These names stay in French, even in an English scenario: they are read by the engine itself. | ||
| + | |||
| + | ===== Line breaks and continuation ===== | ||
| + | |||
| + | * '' | ||
| + | * ''&&'' | ||
| + | |||
| + | <code> | ||
| + | This sentence is long.+n+It continues on a second displayed line. | ||
| + | </code> | ||
| + | |||
| + | <code> | ||
| + | lamp|table|Table description|You take the lamp|The lamp.&& | ||
| + | key|drawer|Drawer description|You take the key|The key. | ||
| + | </ | ||
en/txt/texte.1777825798.txt.gz · Dernière modification : de cyrilfiesta
