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?
July 02 (9 years ago)
Nope. Not without using the API.
Aww!
July 02 (9 years ago)
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
July 03 (9 years ago)
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]].

July 07 (9 years ago)

Edited July 07 (9 years ago)
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}<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: https://wiki.roll20.net/Dice_Reference#Grouping_Ro...

The Aaron said:

You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls:
[[ {(d0+16),3d6}<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: https://wiki.roll20.net/Dice_Reference#Grouping_Ro...

wouldn't [[ {d0+[[3d6]]}<15 ]] also work?
July 08 (9 years ago)

Chell said:

The Aaron said:

You can check them collectively without Nested Inline Rolls or the API by using Grouping Rolls:
[[ {(d0+16),3d6}<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: https://wiki.roll20.net/Dice_Reference#Grouping_Ro...

wouldn't [[ {d0+[[3d6]]}<15 ]] also work?

Looks like it does. That's one way around the grouped rolls issue. Sucks to have to use a workaround though.
July 08 (9 years ago)

Edited July 08 (9 years ago)
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}<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: https://wiki.roll20.net/Dice_Reference#Grouping_Ro...

wouldn't [[ {d0+[[3d6]]}<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.

July 09 (9 years ago)

Edited July 09 (9 years ago)

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}<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: https://wiki.roll20.net/Dice_Reference#Grouping_Ro...

wouldn't [[ {d0+[[3d6]]}<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]}<15} ]]



A side note: my earlier solution could also be changed to [[ {d6+[[2d6]]}<15 ]] to remove the ugliness of rolling a d0