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

Roll to text output

Hi!, first time poster here. My question is if its possible in a macro to output a text that depends on the roll? E.g. [[1d4]] if roll= 1 it'll output the text: Exceptional Success, if 2 Success, if 3 Failure, if 4 Exceptional Failure etc. Ive rummaged around for an hour or so and cant seem to find it.
1530938891
Pat S.
Forum Champion
Sheet Author
You would probably need to build a rollable table with the proper weights or maybe an API script can do it. The regular diceroller doesn't do the if then type of output.
Ah, well that was my backup plan, thanks!
1530940778

Edited 1530940812
The Aaron
Pro
API Scripter
What you're looking for is a Rollable Table. You create them in the Collections tab where you create Macros and manage Decks of Cards.  You give it a name, say "Attempt", then give it 4 rows with each of your possible text and a weight of 1 each.  They you can roll it like: [[ 1t[Attempt] ]] And get your text based result. Edit: Guess I should have refreshed before posting... got interrupted. =D