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 .
×
The developers are currently investigating an issue with logging in + accessing the VTT.
Create a free account

Using Drop/Keep with Rollable Tables

I'm using rollable tables for dice in my The One Ring rpg in my game. I want to be able to use a macro to have it roll my table twice and drop the higher or lower. Can this be done? Right now I can't get it to work at all.
1479658780
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
If your tables result to a number (e.g. the first "word" in the items is a number) then yes. If your table Items are things like "your party finds a grassy savannah" and you want it to choose the higher/lower dice roll on the table, then it can't as all table items that don't resolve to a number resolve to 0.
Scott C. said: If your tables result to a number (e.g. the first "word" in the items is a number) then yes. If your table Items are things like "your party finds a grassy savannah" and you want it to choose the higher/lower dice roll on the table, then it can't as all table items that don't resolve to a number resolve to 0. I'm inclined to think you didn't actually try this, because it does not work. My rollable tables are named with simple numbers, 1-6 with a picture of the dice side for each. Inputing /r 6t[table name]k1 makes it come back with 6 every time (the number of times it was supposed to roll the table, but didn't).
/r 6t[table name]k1 Shouldn't that be either /r 6t[table name]kh1 or /r 6t[table name]kl1 ?
1479669030
Lithl
Pro
Sheet Author
API Scripter
kN is shorthand for khN
1479669761

Edited 1479669782
I just tested /r {2t[test]}k1, which does work.