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

Syntax help

I want to make a macro the uses a stat (dex) and a skill (brawl) to form a dice pool.  it would be something like this read the skill and skill to come up with a number roll that many dice have the target number set to 6 roll the dice and anything higher than a 5 is a sucess. all that condense down into a simple button press, what would be the syntax for the macro if its even possible?
1534387538

Edited 1534387624
GiGs
Pro
Sheet Author
API Scripter
This is a pretty sinple macro. If you're adding it as an Ability (on the Attributes and Abilities tab): /roll (@{dex} + @{brawl})d6>6 If you're adding it as a universal macro (which will require you to select a token before using it): /roll (@{selected|dex} + @{selected|skill})d6>6 You can use inline format by removing the /roll and wrapping everything in [[ brackets ]] like so [[(@{dex} + @{brawl})d6>6]] Note: the > symbol in roll20 means "greater than or equal to" not "greater than", so >6 includes 6s.