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

[Request] Highlighter/Notifier for matching rolls

I haven't found a way to do this without the API so I'm hoping someone who's familiar with it can help me make a script for highlighting matching rolls, or at least sending a message to chat when it happens. Both preferably. Whenever the lowest number or highest number possible is rolled, it highlights red or green respectively. I'm trying to get something like this to happen when any of the first two rolls match the third one, and not at the lowest or highest. The three dice are rolled separately as inline rolls (though I can't remember why the third roll is an inline roll anymore), so I can't see the results of the first two rolls at a glance and have to check both of them. I'll call the rolls x y and z here. The script would just need to highlight and/or send the appropriate message to chat whenever one of the following occurs: x and z match, y and z match, or x, y, and z match. Match type examples: A roll of 3,4,4 is a critical hit, so they should be highlighted and/or critical message sent A roll of 4,3,4 is an autohit, so same thing here, only an autohit notice A roll of 4,4,4 is has two possible effects, lethal hit or autohit, so the player chooses which to use A roll of 4,4,3 is normal and doesn't really matter I don't know if this is relevant, but one last thing to note is that I'm using Honeybadger's powercard script with these 3d6 rolls, so they're being rolled from macros. The relevant parts look like this: --!attack|**Accuracy** [[1d6+@{Character/Class Template|Hit}-@{target|Evade}]] --!^2attack*2|**Damage** [[1d6+@{Character/Class Template|MT1}-@{target|Defense}]] --!^5attack*3|**Skill** [[1d6]] Any help would be greatly appreciated ^_^;
1428284531

Edited 1428321233
I might be able to add this as an option. Will look at it soon as I have time.
And here I didn't think your powercards could get much better lol
Doesn't look like this would be something easy to add to powercards since they're separate rolls instead of just one roll. Sorry.
If there was some way to take the roll results (3d6 instead of three inline rolls) and use them again (for determining accuracy and damage separately), could it work then? Either way, thanks for looking into it at least.
That would be as much or more work unfortunately.
Well, I figured the second part would require another separate script along with it to do what I'm asking. I guess I'll wait around and see if anyone else has any ideas.