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

Roll 2 dice and pick the highest macro

Hi all, I'm new to roll20 and I have almost no programming exp so I was hoping somebady might be able to help me with a macro I'd like. I'd like to be able to roll 2 dice and pick the highest result. i.e. roll 2d10+5 and pick the highest In dark heresy, this is quite common, especially with bolt weapons. If it is possible to do and someone is willing to show me how, I'd be very grateful :)
/roll {1d10+5,1d10+5}kh1 (assuming that the +5 should be added to each individual roll? Otherwise you can just do: /roll 2d10kh1 + 5 (Since the total will be the same either way, really.)
awesome thank you :)