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

[Script] Conditionnal doubles, triples...

Hello, I'm using a game system which purpose is to produce several parameters in one roll. To this end, we roll a handfull of d6 : Blue dices for skills ('success' on >4), Red dices for difficulty ('complication' on <3) and optionnal Dark dices ('success' on >4 or 'complication' on <3). >> This much I more or less managed to write with some help from the forum. Here's the tricky part : identical dices bring a Special Event . In this instance, "identical" means " same figure and same color in the meaningfull branch ". And the more identical dices you get, the more powerfull the event : we call it the 'Force' of the event (Force 2 for a double, Force 4 for a quadruple...). As an exemple, "3-3" on the Blue dices doesn't mean anything special because the 3 aren't successes (so, it's a "double-nothing"). In contrast, getting "2-2-2-6" when rolling four Reds means not only 3 complications, but that something really nasty is coming up too (triple negative). And since Dark dices can give you both "good" and "bad" omens, rolling five of them for "4-4-4-3-3" means you get 3 successes, 2 complications, a very lucky strike (triple positive)... and some quite bad shit coming your way (double negative). So, is there any way I can write macros that : detect doubles, triples, etc. on a colored roll, discard the irrelevant ones (ex: double 6 on a Red roll), display the "Special Event" and it's 'Force'  ?
Not without using the API, which would require a subscription to Pro.
Hello, I'm one of Sebastien's (not so confused) player, and I'm interrested. So, with the API... ?
With the API you could write a script that does everything you need. The GM that creates the campaign has to have the subscription however. 
1442296530

Edited 1442296836
Well, if needed, I will create the campaign (and then invite my partner to GM it). But for now, Sebastien and I just need to write the script. Thing is : none of us is especially skilled. Any pointers ? Right now, we use a very simple script which sorts and highligts "successes" and "complications" on the Blue and Red dicesin the infobox (it doesn't work with the Dark ones) : it helps to see the multiples if one's looking for them, but we'd like something more automated.