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 .
×

Switch Case

Is it possible to set up a Switch case macro? For example, My OPath of Wild Magic Barbarian needs to roll a d8 every time I rage to figure out the effect. It would be a lot easier to be able to combine the roll and the subsequent selection and need something like a Switch case statement for this. 
1608391594

Edited 1608392262
Jordan C.
Pro
API Scripter
Tiko N. said: Is it possible to set up a Switch case macro? For example, My OPath of Wild Magic Barbarian needs to roll a d8 every time I rage to figure out the effect. It would be a lot easier to be able to combine the roll and the subsequent selection and need something like a Switch case statement for this.  Could the Rollable Tables do what your asking for? Put all eight items into the table with a weight of 1 and call it as you rage with "[[ 1t[Wild-Magic] ]]". This will output the result of the item after simulating a d8 dice roll. Query macros exist but inputs for them have to be manually entered or selected.