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 .
×
The developers are currently investigating an issue with logging in + accessing the VTT.
Create a free account

Simple math formula on Macro

Hi I wanted to do a simple math formula on a macro Said formula is x= number the player is queried about and enters on the query r = result r = x + x/2 how would this be possible w/o api? Thanks!
1599240557
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
This is just a basic use of inline roll brackets and roll queries. You can find full details on the dice reference wiki page : [[?{Number} + ?{Number}/2]]