**Language / Langue :** [[fr:txt:sons-images|FR]] | **EN**
====== Sounds and images (.txt format) ======
===== Sounds =====
The bot joins the **JDR-Bot** voice channel automatically, when it exists, at the start of every game, and leaves it when the game ends or is given up.
To play a sound, surround its URL with ''<<'' and ''>>'':
The dragon roars! <> You take 10 damage.
Supported formats: ''.mp3'', ''.ogg'', ''.wav''
* One sound at a time: if a sound is playing, it is stopped before the next one starts.
* A sound plays **once**, not in a loop. It plays again if the player comes back to the room.
===== Images =====
To display an image, surround its URL with ''%%[[%%'' and ''%%]]%%'':
You uncover an old map.
[[https://example.com/images/map.png]]
What will you do with it?
The URL must start with ''http'' or ''https''. Supported formats: ''.png'', ''.jpg'', ''.gif'', ''.webp''
The image is displayed between the two blocks of text.
===== Available sounds =====
Royalty-free sounds are hosted on the official server:
[[https://cyril-fiesta.fr/jdr-bot/scenarios/sounds/]]