Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Cant Get Tables to Roll

Hi Everyone, I'm trying to duplicate the treasure tables from the 5e DM Guide to put them all in a macro and create a sweet Recursive Tables miracle.  Unfortunately, I'm also a bit of a blunt instrument when it comes to macros and api scripts.  Before I can even get to the macro, I've created the 4 individual treasure tables from the DMG as a start. The below example is for CR11-16. But when I use the ROLL button on the table, my result is always what's shown below (=0).  What am I doing wrong, because I have a Loooong way to go to create these tables, and I'd like to nip my oversights in the bud now before continuing. Thanks for any insight! Dave Rossi
1604536833

Edited 1604536882
The Aaron
Roll20 Production Team
API Scripter
To use RecursiveTable, you need to precede the desired output with !rt like this: !rt [[ 1t[Treasure-IND11-16] ]]
AH!   So that's what goes in the Macro?  And if I want to run only that table, I can type that directly in the chat?  Thanks SO much!
1604579029

Edited 1604579056
David M.
Pro
API Scripter
Just a general note: all [actively called] api scripts will have some sort of !command requirement, often with required or optional subcommands and/or formatting for what comes after that initial command. These are all specific to the individual script and will be described in the script's documentation.