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 .
×
Advertisement Create a free account

Need help with a macro

its a simple macro for determining starting gold if have this so far &{template:npcaction} {{rname=Barbarian}} {{name=Starting Gold}} {{description=......but having trouble telling it to roll and post it in the description. any help would be appreciated.
1540259434
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
you need to use inline rolls : {{description=[[xdy]]}}
f@#$ i new it was something simple and that i was over complicating it.. thanx a ton.
i have read that link but doesnt say how to do 2d4x10...or is that not possible dont see any other examples of multiplication in macros
never mind completly spaced * represents multiplication not x.....i am special today.
&{template:npcaction} {{rname=Barbarian}} {{name=Starting Gold}} {{description=[[2d4*10]]}} ....................if anyone else is interested. I have a room built so my players can go in and build characters at their leisure and am building macros to streamline the process.