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 .
×

Complex dice formatting?

I'm looking to set up a macro for rolling dice for Shadowrun 5th Edition. I already have pretty nice macros set up that ask for such things as how many dice you want to roll for the attribute, how much for the skill, what modifier, and everything is great there... but I kind of want some nice formatting. For example, in shadowrun 5e, you roll 6 sided dice. For every die result that's a 5 or 6, you get a hit. If you score enough hits to match or beat the threshold, your roll was successful. Further, if you get over half the dice coming up a 1, regardless of if the roll was successful, it's a glitch (like a minor critical failure), and if you get a glitch and you have scored no hits, it's a critical glitch (like a normal critical failure). Is there any way I can have this automated? Can I roll my dice and have it display the dice totals, show a success if the threshold is met, and show whether or not I've got either kind of glitch?
1433212627

Edited 1433212808
Unfortunately, it's not currently possible to reference the results of an executed roll in the specified manner without the assistance of API scripts. That said, it may be slightly easier to determine whether or not a test glitches or succeeds when mousing over a roll formatted like so: [[ [[[ceil(?{Dice Pool}/2)]]≤ 1’s = glitch] ?{Dice Pool}d6s>5cs>5]]