en:txt:texte
Ceci est une ancienne révision du document !
Table des matières
Language / Langue : FR | EN
Text and formatting (.txt format)
Special characters
| Syntax | Effect |
|---|---|
+n+ | Line break in the displayed text |
&& (end of line) | Continues on the next line, same logical block |
## | Comment - the bot ignores everything after it on that line |
text | Unformatted text block (disables the default fix markdown) |
| | Separator - do not use it inside texts |
@@ | Separates several actions inside a 997 event |
* | Room separator (five stars minimum) |
Sounds and music
To play a sound, surround its URL with « and »:
The monster roars! <<https://example.com/sounds/roar.mp3>> You take 10 damage.
Supported formats: mp3, ogg, wav. The bot joins the JDR-Bot voice channel automatically when it exists.
If a sound is already playing, it is stopped before the new one starts.
Images
To display an image, surround its URL with [[ and ]]:
[[https://example.com/images/map.png]]
Variables inside text
To display the value of a numeric variable: v_name_v
To display the value of a text variable: t_name_t
You have v_hp_v hit points left. Hello t_player_name_t, welcome to the adventure!
System variables
| Variable | Value |
|---|---|
v_resultat_v | Result of the last random draw (%=X:Y) |
v_valeur_v | Last code entered through go room code |
v_reponse_v | Last value entered with reply |
These names stay in French, even in an English scenario: they are read by the engine itself.
Line breaks and continuation
+n+is a line break shown in Discord&&at the end of a line merges it with the next one, which is handy for object and variable blocks
This sentence is long.+n+It continues on a second displayed line.
lamp|table|Table description|You take the lamp|The lamp.&& key|drawer|Drawer description|You take the key|The key.
Find us on the Make&Play Discord
en/txt/texte.1788117520.txt.gz · Dernière modification : de cyrilfiesta
