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 .
×
The team is currently investigating an issue impacting user logins.
Create a free account

Is there a macro to allow players to select amount of dice to roll?

Hello all, i have been searching and cant seem to find this anywhere.. is there a macro setup that would allow for someone to roll a chosen number of D6's? So if they click the macro it will ask them how many they want to roll... I am asking because I love making macro buttons for my players and right now I am working on a new game concept but they will need to quickly click the macro and choose how many to roll of that set dice. the normal dice roller makes it inconvenient to keep changing thanks in advance.
1476498496
Tetsuo
Forum Champion
something simple: /r ?{Number of dice rolled|1}d6
Thank you so much Franky H.! That is what I needed.. You are amazing. 
One last question to add to this, is it possible to drop all but the 6's in that macro?
Draxton said: One last question to add to this, is it possible to drop all but the 6's in that macro? Not with the standard dice engine . You could create a Rollable Table with Table Items 0 through 5 and use that in place of d6's within macros. e.g. /r ?{Number of dice|1}t[dice-table]
Silvyre said: Draxton said: One last question to add to this, is it possible to drop all but the 6's in that macro? Not with the standard dice engine . You could create a Rollable Table with Table Items 0 through 5 and use that in place of d6's within macros. e.g. /r ?{Number of dice|1}t[dice-table] sadly that isnt gonna help.. BUT I can do with what I have on it now.. I have already made some rolable tables for my main game so that is no prob there.. Thank you for the response :D
1476502964

Edited 1476503023
Hm, actually, this might work: [[ ?{Number of dice rolled|1}d6>6 * 6 ]]
1476503047

Edited 1476503078
Tetsuo
Forum Champion
You mean dropping any number less than 6? Easy. Sort of. [[ [[?{Number of dice rolled|1}d6>6]]*6]] will output how many 6's are rolled.then multiple that by 6. So if you roll 6d6, and results are 1, 3, 3, 5, 6, 6. The out put will be 2, which will be multiplied by 6, and display as 12. effective dropping any number lower than 6, then totalling the results. EDIT: Ninja'd by Silvyre
that seems to total them up, I could divide by 6 but it is needed to display the individual 6's on the screen but not the lower numbers.  I do appreciate the help however and that is useful for another ideah I have for sure.
1476503220

Edited 1476503249
Tetsuo
Forum Champion
So you just need to know how many 6's you rolled? /r ?{Number of dice rolled|1}d6>6 try that. It will gray out any non-6 in the roll
Franky H. said: So you just need to know how many 6's you rolled? /r ?{Number of dice rolled|1}d6>6 try that. It will gray out any non-6 in the roll Yup that's how I will keep it... I am creating a warhammeresk game with the rolling.. thats why i needed this btw.. thank you both for the help