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

Ordering/Modifying multiple inline results?

Is it possible to have results listed in either ascending or descending order? For example, I know that: [[4d6k3r1sd]] will roll 4d6, keep the lowest 3, reroll any 1s, and then list the numbers (inside the inline roll) in descending order. But is there anyway to make those modifications to results instead of rolls? So like if I wanted to do [[4d6k3r1]] 3 times and then have those results listed in descending order? Or reroll any that end up below 10?
1593843157
Oosh
Sheet Author
API Scripter
Not without the API, unfortunately. Many of the dice operators only work on rolls, not on results. The only ordered list I can think of is using the default template: &{template:default}{{2=This line is written first}}{{1=This line is written second}} will output in the reverse order due to the numbers in the left column. Unfortunately this doesn't work with values from inline rolls, so it won't do an awful lot of good.
Ah alright, I was afraid of that. Is there a way to do it with the API then?
1593893451
GiGs
Pro
Sheet Author
API Scripter
A script would need to be written to do this. I have one that is close and wouldnt take much to tweak it to serve this purpose. But you need to be Pro to use the API.