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

If/Then Macro options

Hey, working on a macro for a game, and I was wondering if there was any way to program in a Macro that rolls a dice, and then if it's greater than or less than a total it says that there's a reaction. example, for a DC 15 skill check: /roll1d20 If 14 or less, it would report the check failed via text I type in if 15 or more it would report the check passed via text I type in.
You can make a roll with a target number which can be an attribute (eg AC). Go to <a href="http://help.roll20.net/dice-rolling-reference/" rel="nofollow">http://help.roll20.net/dice-rolling-reference/</a> it's under "Target number".
1362128081
Gauss
Forum Champion
Maul, tables are in the roadmap and are being developed. While I dont know what the final form of tables will be there is a decent chance what you are asking for will be possible by using a table.&nbsp; Until then, you can use success/fail dice rolls. You can find the help file for that at the link Maetco provided.&nbsp; - Gauss
Yes, I found those, and have already implemented those in several macros.&nbsp; It's actually exactly what I needed. Thanks for your reply.
I think this is a related question so I'm just adding to this thread. In Runequest or BRP you have a target % to roll&lt;= for success. If you roll a high % &nbsp;say 99 or 100 &nbsp;you fumble ( based on 5% of your success %). If you roll a low enough % you get a special success ( based on 20% of your success chance). This applies to combat and to skill rolls. Is there a way to automate this so that the roll will tell you Success, Special, Miss or Fumble ? I can see how we can get the Success and Miss, but not the Special and Fumble.
1363145035
Gauss
Forum Champion
Warren, what you are asking for should be possible by using a table. The table system is in development.&nbsp; - Gauss
Since tables are live for subcribers I'll have to give it a try &nbsp;:-)