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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Keep middle dice

1610138048

Edited 1610138270
Luckyn
Sheet Author
Hi, I'm working on a new sheet and I would like to roll3 dice and keep only the middle result. I search on the wiki and found that you can remove the smallest with "/roll 3d6d1" but I didn't found anything to drop the highest. Do I need an API script for that ?
Dice Reference /roll 3d6dl1dh1
1610146134
Luckyn
Sheet Author
Thanks for the link, indeed dh1 drop the highest dice, but when I try to use both dl & dh together with your command it results as an error.... I tryed both order :'( "There was an error with your formula. Please try again." is it a bug ? or they are not compatible ?
1610147206

Edited 1610147288
Ah I forgot you can't combine keep and drop in a single roll without grouping first: /roll {3d6dl1}dh1 Basically you roll three dice and drop the lowest, then take the remaining two and drop the highest. And if you want the rolls sorted low to high add an 's' or 'sa'; sorting high to low is 'sd': /roll {3d6dl1 s }dh1
1610188315
Luckyn
Sheet Author
Exactly what I needed ! thanks a lot for the quick help :)