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

Number-of-Dice-to-Roll Macro

I apologize if I have under-used the search function. I am starting a New World of Darkness game with some friends that have never been near Roll 20 or an RPG before. To keep them from getting intimidated, I'd like to be able to give them a macro that will roll X-number of dice according to nWoD rules. Basically, I want this: #Roll X /roll (Xd10!)>8 That way, my players can look at their sheets, figure out they need to roll 5 dice, and type "#Roll 5." I realize I could make several macros to roll each number of dice--#Roll1 rolls 1 die, #Roll2 rolls 2 dice, etc.--but is there a way to use a general-case macro? [Edited for clarity.]
1362003143
Gauss
Forum Champion
There is currently no way to use a variable like that. However, what you can do is the following:  Create a Journal, add an attribute called 'Variable'.  Create a token, link it to the Journal. Link one of the bubbles to the attribute called 'Variable'. Now, create a macro and assign it to the player.  The macro should be typed out as: /roll (@Variable d10!)>8  Then go back to d and delete the space between Variable and d.  Click save and you are done. :) Now, you can click on the token, change the number in the bubble, and it will automatically change the attribute (and through the attribute, the macro). Hit the macro and it will roll the new attribute value as the number of dice. - Gauss
Well, thanks for letting me know. Your method would work, but since my player's characters aren't likely to be rolling more than 6 or 7 dice at most, I went with the brute-force 1-macro-per-number-of-dice method. Thanks, Gauss.
1362012135
Gauss
Forum Champion
NP, let me know if you need anything else. :) - Gauss