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

If statements

Im trying to make a macro to roll for magic beans. this item has different effects based on what you roll with a d100. i want to make this macro automatically tell me what effect the bean has after rolling the d100. I think i would need if statements for this but of what i can find they dont work in roll20. Does anyone know another way to preform this task?
1660428255
The Aaron
Roll20 Production Team
API Scripter
I would create a rollable table with all of this information.  You can roll on it and have it tell you the details you want to know. Branching logics, like ifs, are only available with Mod (API) Scripts, a Pro subscriber perk.