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

Help with a macro for selecting and showing texts

Hi everyone, hope you can help me on this one, since my first contact ever with macros adn comanding lines was 4 hours ago. So in this 5e campaign I'm playing, the gm is using a special table for critical hits and one for critical failures. Basically everytime a 20 or 1 is rolled, the character who did rolls a d100 and check the result in the table. Now, since my character tends to roll a lot of 1s (gm gave me Luck and a magic item that ignores a 1 on certain conditions and I still keep getting a lot), I decided to make a simple macro that goes like that: /me met with a terrible fate! [[d100cf<30cs>80]] Now comes the question: I learned about the critical flag on the macro that makes the box recieve a green (for crit) or red (for fumble) line, what I do want now is to attach a text that would only show in the chat if the roll was a crit or fumble. Had the result be a 20, something on the lines of "/me life is fading", while on a 92, "/me will survive...for now". Is that possible? To have text lines linked to a specific roll result?
No, not from a player's standpoint. What you could do just make a separate macro for each result and click on those after your roll. 
1466512591
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'd ask the GM to make the table a rollable table in roll20, and then just roll on the table for your result. No need to mess around with cs or cf.
Scott C. said: I'd ask the GM to make the table a rollable table in roll20, and then just roll on the table for your result. No need to mess around with cs or cf. This is what I did when I was using a crit/fumble system in 5e.  I created the tables I needed (crits = blut, pierce, slash results + 1 fumble) and then set them to be usable by players.  When an attack result required one of these tables I would inform the player which table to use.