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

Skill Check Macro

So i'm trying to set up a simple skillcheck macro which goes as follows. {3d6}<15 It only checks individual dice, unfortunately. Is there a way to check all the dice collectively?
Nope. Not without using the API.
Aww!
1435844077
Lithl
Pro
Sheet Author
API Scripter
[[ 1 - 1d1cf0cs0>[[15-3d6]] ]] seems to work. You may want to add +1 or -1 to the 15 depending on the behavior you want when the 3d6==15. I included the cf0 and cs0 because the highlighting is odd with d1s, and you don't need it anyway.
Uh, how about: [[[[3d6]]<15]]? Works for me. xP
1435903376
Lithl
Pro
Sheet Author
API Scripter
Benson Y. said: Uh, how about: [[[[3d6]]<15]]? Works for me. xP The result of [[[[3d6]]<15]] is exactly equal to [[3d6]].
1436279557

Edited 1436279585
The Aaron
Roll20 Production Team
API Scripter
You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls: [[ {(d0+16),3d6}&lt;15 ]] The (d0+16) in the group is just there to have a second (always failing) roll so that it is treated as a group. Effectively, this means that only the 3d6 gets compared to the 15. See: <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>...
The Aaron said: You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls: [[ {(d0+16),3d6}&lt;15 ]] The (d0+16) in the group is just there to have a second (always failing) roll so that it is treated as a group. Effectively, this means that only the 3d6 gets compared to the 15. See: <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>... wouldn't [[ {d0+[[3d6]]}&lt;15 ]] also work?
Chell said: The Aaron said: You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls: [[ {(d0+16),3d6}&lt;15 ]] The (d0+16) in the group is just there to have a second (always failing) roll so that it is treated as a group. Effectively, this means that only the 3d6 gets compared to the 15. See: <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>... wouldn't [[ {d0+[[3d6]]}&lt;15 ]] also work? Looks like it does. That's one way around the grouped rolls issue. Sucks to have to use a workaround though.
1436365649

Edited 1436365761
The Aaron
Roll20 Production Team
API Scripter
Chell said: The Aaron said: You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls: [[ {(d0+16),3d6}&lt;15 ]] The (d0+16) in the group is just there to have a second (always failing) roll so that it is treated as a group. Effectively, this means that only the 3d6 gets compared to the 15. See: <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>... wouldn't [[ {d0+[[3d6]]}&lt;15 ]] also work? It appears to not work correctly when I tried it . Ok, yeah, it works. Even if it does work, it would not allow you to inspect the dice rolled, which is why it wouldn't be my goto choice.
1436413017

Edited 1436413398
The Aaron said: Chell said: The Aaron said: You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls: [[ {(d0+16),3d6}&lt;15 ]] The (d0+16) in the group is just there to have a second (always failing) roll so that it is treated as a group. Effectively, this means that only the 3d6 gets compared to the 15. See: <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Ro</a>... wouldn't [[ {d0+[[3d6]]}&lt;15 ]] also work? It appears to not work correctly when I tried it . Ok, yeah, it works. Even if it does work, it would not allow you to inspect the dice rolled, which is why it wouldn't be my goto choice. Well if inspectinig the dice is needed... and the number of dice rolled is static then you could do something more like [[ {(d6+[[d6]]+[[d6]])[3d6]}&lt;15} ]] A side note: my earlier solution could also be changed to [[ {d6+[[2d6]]}&lt;15 ]] to remove the ugliness of rolling a d0