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

Putting text next to roll results

Hello! I'm new to Roll20 and loving it, I'm just learning to set up macros and was wondering if there was a way to attach text to the roll result. Ex: the way I have it setup right now is basically /roll 1d20+1 vs AC /roll 1d6+1 Damage when it rolls in the chat log though, it displays the "vs AC" and "Damage" higher up and not next to the roll total. Is there a way that I can post the 'vs AC' and "Damage" next to the roll total?
1407131047

Edited 1407131132
Gold
Forum Champion
try "inline rolls" don't put /roll do put double-brackets around the 1d20+1 like this [[1d20+1]] vs AC [[1d6+1]] Damage Try that and see if you like how it works. Hold your mouse over the yellow result to see the actual rolls and math. more info, <a href="https://wiki.roll20.net/Dice_Reference#Inline_Dice_Rolls" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Inline_Dice_Rolls</a>
Thanks for the quick reply! that worked out great. Is there a reasoning behind the boxes outlined in red or green?
Minimum and maximum possible rolls, respectively.
I see, I just thought it showed a Greenbox on a 1d6 when it rolled a 4. Maybe I'm losing it haha. Thanks though! I appreciate everyones help.
1407137501
Lithl
Pro
Sheet Author
API Scripter
Red: At least one die of the roll was a 1. Green: At least one die of the roll was the maximum value for that die. Blue: At least one die was a 1 and at least one die was maximum.
Thanks again! Another question to bug yall with. Is there a way to increase the range of the green box, like making it go green for 19-20 on a d20 to make it easier to see if there was a crit or not?
1407158009
The Aaron
Roll20 Production Team
API Scripter
There isn't. There are some scripts that fake it in the API, but nothing you can do with the dice syntax.
There are ways around it like in some macros provided in the character sheet for pathfinder you could do: (Must roll at least a [[(Minimum Crit Range)+Attack Mod)]] With that you can at least say you are giving the character a total they must hit for it to be a critical because you need to have hit a certain number on the dice. This of course does not keep Bless, Bard Song, or any other spells that increase attack in mind so be wary.