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 .
×

1d100 Maco, Need Help

Hello everyone. I'm trying to create a macro using the 1d100<X (where X represents the skill trying to be beat) and add an option for modifiying the number to beat with a pop up field. I've tried /r 1d100<X+?{Modifiers|0}, but that doesn.t seem to work. Any help would be appreciated.
1482461268
The Aaron
Pro
API Scripter
try: /r 1d100<[[X+?{Modifiers|0}]]
The Aaron said: try: /r 1d100<[[X+?{Modifiers|0}]] Awesome, thanks! This is all new to me so, I'm pretty much a noob at scripting/macros.
1482594034
The Aaron
Pro
API Scripter
No worries!  The < modifier expects a single number argument. Putting an inline roll in allows the math to be evaluated first, resulting in that single number argument it expects.  Happy rolling!