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

Inline rolls nested in a table row

1602602366

Edited 1602602480
Villagelder
Pro
Marketplace Creator
I am trying to use the Recursive Table script. I am either not understanding how to implement it or I am confusing my use case. I am making a trinket generator and I want to have one table with inline commands for each row in the table, i.e. [[1t[trinket-item]] made of [[1t[animal]] hide Is this possible? And how do I do this correctly? Thanks! Villagelder
1602602797

Edited 1602603292
Ziechael
Forum Champion
Sheet Author
API Scripter
It should work with what you are describing but your examples are missing a closing ] I also don't think the table calls housed within other tables should be surrounded by inline brackets... not a usecase I've tried before however so I'll see if we can get an expert opinion ;) Paging Dr Aaron
1602603494

Edited 1602603683
Villagelder
Pro
Marketplace Creator
This is what I get with my current setup click: I will try it without the inline brackets...  and no combination of brackets is working
1602603873

Edited 1602603886
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
ah, I see the problem. You need to use the recursive tables commands instead of just rolling the table. Once you have Recursive Tables installed, you'll send a command like this to roll your table: !rt [[1t[Trinket-Generator]]] See the script's documentation in your api page for full details, and more advanced command syntax.
1602604234
Villagelder
Pro
Marketplace Creator
That worked. Evidently, the !rt command executes the recursive script which cannot operate on its own from clicking a table roll.. makes sense! Thanks, Villagelder