There's no way for a free user to do this. Pro users have access to the scripting API which would let someone write a script to achieve it, but it's still a bit complex if you arent skilled with javascript. What you can do is have the dice sorted automatically, something like /roll #d6 sd >4 which will group the ones together and make it easier to count them. sd means stort descending. Highest values come first. If you want to sort the other way, use sort ascending: /roll #d6 sa >4 By the way, just in case you aren't aware, in roll20 >4 means all results equal to or greater than 4. If your system counts successes on 5 and 6 only, you'll need to change that to >5 .