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

Making Sheet Question on Making Equal to or Greater than a roll then listing it as a success or fail

1592533161

Edited 1592533185
Rogue
Pro
Marketplace Creator
Writing this into a sheet, including the button next to the variable. So say I have a d20 and my save is 16. I want to roll a 16 or higher to succeed, a 15 or lower would fail. I want it to roll the d20 when prompted, then report after the roll is made...succeed or fail? Anybody help?
1592533319
Rogue
Pro
Marketplace Creator
I also have the same issue for a percentil roll. I need it to roll a d100 when prompted to and a roll of the rating or lower would be a success. If it rolls higher than the number on a d100 then it fails. Please help
1592563391
GiGs
Pro
Sheet Author
API Scripter
If I'm understanding you correctly, the wiki dice reference page tells you how to do this. /roll 1d20>16 will give you a success on 16+ (roll20 treates > as "equal to or greater") Likewise: /roll 1d100<?{Success?|50} will let the user enter their success and will report success or fail. You can use attribute references instead of fixed numbers or queries.
1592591319
Rogue
Pro
Marketplace Creator
thanks, I was wondering if there is a way to rewrite what the answer is. It currently states 0 successes, or 1 successes. It is a minor problem really but was wondering if I could change it to just say Success or Fail.
1592595343
GiGs
Pro
Sheet Author
API Scripter
The only way you can customise the output is by using an API script. Since you're a pro user, if you're the game's creator, you could use the Power cards API to customise the output. There's a thread in the API forum on that script. If you want to use it, ask in there for help getting the output you want.
1592595827
Rogue
Pro
Marketplace Creator
Thanks GiGs