[RPG] How to use Roll20 to reroll some dice until I get no duplicates

roll20

Is there a command or macro that would help me roll 5d11 until I get no duplicate values?

At the beginning of each session I roll 5d11 and if there are any repeating numbers I roll again until there aren't any. I can't seem to find anything on repeating numbers in the wiki that would let me automate this. If I've missing something I will happily accept the page and read through it. Or if there's like a drop duplicate numbers that would also be great.

Best Answer

to the question "Can I use roll20 to get a sample of 5 numbers from 1-11, without replacement?"

You cannot use Roll20 to manipulate dice in this way (as far as I know)

Since "roll 1d11 until I get 5 unique numbers" is the same as "randomly select 5 numbers out of a set of 11, without replacement"

A better tool to use, is some "online tool sampling without replacement" (what I used in my google search). I used this dcode site. Enter the range of the numbers (minimum 1 and maximum of 11) and how many to choose (5).

The first two tries, I got [5,9,11,4,6] and [11,10,6,8,4].

Another online tool that I found.