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

Macro for roll 6d12 and reroll until I have 6 different results?

Is there a way to have a macro instantiate a variable and set it to the value of a first roll, allowing me to then check to see if the next roll is equal to it?
There are three ways that I can see this being done. The simpler method would be to make it in an API script, which would require the game's creator to have a pro subscription. This is an advanced scenario, but the API could easily handle it. The second method requires more work, but you could accomplish it through a rollable table where each item is the specific combination of results from 1,2,3,4,5,6 to 7,8,9,10,11,12. Unfortunately a rollable table can only be created and maintained by the GM. So this may be a no-go on that part alone. Finally you could create a series of macros where you roll the macro and it asks you which results have already occurred. This you could actually do with the GM having to do extra work, but it's certainly not pretty. Roll1 /r 1d12 Roll2 /r 1d12r?{Result 1} Roll3 /r 1d12r?{Result 1}r?{Result 2} Roll4 /r 1d12r?{Result 1}r?{Result 2}r?{Result 3} Roll5 /r 1d12r?{Result 1}r?{Result 2}r?{Result 3}r?{Result 4} Roll6 /r 1d12r?{Result 1}r?{Result 2}r?{Result 3}r?{Result 4}r?{Result 5}