
Given a table named Encounters with entries like:
Messages will come from the speaker who entered the command. Additionally, commands placed in the text will be respected:

(Thanks for the Idea Arthur B.!)
Git: https://github.com/shdwjk/Roll20API/blob/master/Re...
- [[1d3+2]] Rats
- [[1d6]] Snakes
- [[1d8]] Spiders
!rt You encounter [[ 1t[Encounters] ]]!will produce things like:
- You encounter 4 Rats!
- You encounter 3 Snakes!
- You encounter 5 Spiders!
Messages will come from the speaker who entered the command. Additionally, commands placed in the text will be respected:
!rt /w gm They encounter [[ 1t[Encounters] ]]!will whisper the text to the GM.
!rt /w "Bob the Slayer" You find a horde of [[ 3t[Coins] ]], [[ 5t[[Small-Gems] ]], [[ 1t[Potions] ]], and [[ 1t[Weak-Magic-Items] ]]!will whisper to "Bob the Slayer" something like:
You find a horde of 30 sliver coins, 10 gold coins, 23 copper coins, a garnet worth 25gp, a ruby worth 50gp, a pearl worth 100gp, a garnet worth 25gp, a diamond worth 300gp, a potion of healing, and a dagger of venom!Go nuts! =D

(Thanks for the Idea Arthur B.!)
Git: https://github.com/shdwjk/Roll20API/blob/master/Re...
If you use my scripts, want to contribute, and have the spare bucks to do so, go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free!
Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.