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

asking questions about macros (pls move if in wrong spot)

(X)= ANY NUMBER ok 1. is there a way to set a number to roll (X) 1d20+2 without them adding up. example: if i wanted to roll 2 1d20+2 then the next time i wanted to roll 5 1d20+2. (is there a way i can set a macro to do that without making 2 different marcos with 2 1d20+2 and 5 1d20+2?)  2. is there a way to hide the values adding/subtracting from the roll while showing the result. example: 1d20+2 is the roll but you only wanted to show the result and not the players that there is a +2
1459008097

Edited 1459009060
The Aaron
Roll20 Production Team
API Scripter
I'll talk about 2. first. You can use nested online rolls: [[ [[1d20+2]] ]] for a roll of 7, the output will just show 9 and appear identical to: [[ 9 ]] See:&nbsp; <a href="https://wiki.roll20.net/Dice_Reference#Inline_Dice" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Inline_Dice</a>... Now for 1. &nbsp;You can't dynamicly specify the number of rolls, but you can pre-create a macro that lets you select as many as you like.&nbsp; ?{Rolls?|1,[[ [[1d20+2]] ]] |2,[[ [[1d20+2]] ]] [[ [[1d20+2]] ]]|3,[[ [[1d20+2]] ]] [[ [[1d20+2]] ]] [[ [[1d20+2]] ]]} That's the basic idea.&nbsp; See:&nbsp; <a href="https://wiki.roll20.net/Dice_Reference#Roll_Querie" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Roll_Querie</a>...
number 1 yes thats what i was looking for. number 2 does that stop players from hovering over the number and seeing what the mod was?
Yes, nesting inline rolls removes the mod from view for everyone. Including the GM.