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

Simple d100 macro for success or fail

1656164649

Edited 1656164700
Greetings! I need a macro to roll a 1d100, then ask to input manually the value to match, asking to say what's is doing and the result returns SUCCESS or FAILED, in a formatted way. I've tried that /roll 1d100&lt;?{valor|0} for ?{Action|0}! but returns only 0 successes or 1 success, in a not formatted way. rolling 1d100&lt;45 for jump the table! ( 96 ) = 0 Successes I want something like that: GM (André) (GM) rolls a&nbsp;<span class="userscript-inlinerollresult showtip tipsy-n-right" title="Rolling 1d100cs 35 &nbsp;for jump. SUCCESS! Some could help me?
1656194091
GiGs
Pro
Sheet Author
API Scripter
You can't do this with a macro. Roll20 macros cannot convert a number into a text value. There's a clunky way to do what you want by creating two rollable tables, as described here: <a href="https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=7510651#post-7510651" rel="nofollow">https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones/?pageforid=7510651#post-7510651</a>