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

/roll wont execute

1555399036

Edited 1555399397
Hi all, have a nested dropdown thing going on and the results will appear in the chat correctly but wont execute. I understand that there are probably other ways to do this - but i want the rolls to execute and not just see the text /roll 1d20+1 appear in the chat  /me Rolls a Saving Throw ?{Attribute|     Str, ?{Type| Standard, /roll 1d20+1 | Advantage, /roll 2d20kh1+1 | Disadvantage, /roll 2d20kl1+1 } |     Int, ?{Type| Standard, /roll 1d20+6 | Advantage, /roll 2d20kh1+6 | Disadvantage, /roll 2d20kl1+6 } |     Wis, ?{Type| Standard, /roll 1d20+2 | Advantage, /roll 2d20kh1+2 | Disadvantage, /roll 2d20kl1+2 } |     Dex, ?{Type| Standard, /roll 1d20+2 | Advantage, /roll 2d20kh1+2 | Disadvantage, /roll 2d20kl1+2 } |     Con, ?{Type| Standard, /roll 1d20+1 | Advantage, /roll 2d20kh1+1 | Disadvantage, /roll 2d20kl1+1 } |     Cha, ?{Type| Standard, /roll 1d20+2 | Advantage, /roll 2d20kh1+2 | Disadvantage, /roll 2d20kl1+2 } }
1555402643
Kai
Plus
Sheet Author
Try to use inline rolls - [[1d20+1]] instead of /roll 1d20+1.
1555404102
Ziechael
Forum Champion
Sheet Author
API Scripter
If you are set on using a standard roll (need to see the dice for example), it is good practice to keep all repeating code outside of a query as per below: /me Rolls a Saving Throw: /roll ?{Attribute|Str, ?{Type| Standard, 1d20+1 | Advantage, 2d20kh1+1 | Disadvantage, 2d20kl1+1 } | Int, ?{Type| Standard, 1d20+6 | Advantage, 2d20kh1+6 | Disadvantage, 2d20kl1+6 } | Wis, ?{Type| Standard, 1d20+2 | Advantage, 2d20kh1+2 | Disadvantage, 2d20kl1+2 } | Dex, ?{Type| Standard, 1d20+2 | Advantage, 2d20kh1+2 | Disadvantage, 2d20kl1+2 } | Con, ?{Type| Standard, 1d20+1 | Advantage, 2d20kh1+1 | Disadvantage, 2d20kl1+1 } | Cha, ?{Type| Standard, 1d20+2 | Advantage, 2d20kh1+2 | Disadvantage, 2d20kl1+2 } }
Thank you - just what i needed.