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

Macro with variable number of dice os specific type

February 01 (11 years ago)
Greetings.

Is there any way that I could use a macro of the following type:

#rollN,5
/roll Nd6>5

The main point in question is me setting the number of dice thrown each time, instead of regulating the TN or added value.

I don't know If this has been asked/answered before, but I couldn't find anything in the Wiki or here, so far.

Thanks in advance
February 01 (11 years ago)

Edited February 01 (11 years ago)
/r ?{Number of dice|3}d6>5

Breaking it down, it asks you for the number of dice you'd like to roll (with a default of 3); rolls that many dice; and then compares it vs. the target number of 5.

Here's roll queries in the wiki.
February 01 (11 years ago)
Moving to the Specific Use Questions forum since this is definitely a specific use question. :)
February 04 (11 years ago)
Thank you very much, I just missed it on the wiki.