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

Can you display dice roll when you set a value using Token Mods

So I have been using token mods for different types of healing in a 5e game I am running. For example the warlock is using this marco for Healing Light: !token-mod {{ --set bar1_value|[[{@{target|Target|bar1}+?{How Many D6s? |1|2|3|4|5}d6, @{target|Target|bar1|Max}d1}kl1]] --ids @{target|Target|token_id} }} !ammo -M9i2QCzNvxy-Gop2RMq class_resource -?{How Many D6s? |1|2|3|4|5} Healing Light This works great, but my players always ask if there is a way to display the dice roll in chat. As is the warlock uses the macro and the target characters hp changes, but there is no record of by how much. After a couple of hours messing with it, I gave up and now decided to ask the forum.
1592198106
The Aaron
Roll20 Production Team
API Scripter
You can use --report to show information about changes: --report all|"Healed by {bar1_current:abschange}hp" more details in the help. 
The Aaron said: You can use --report to show information about changes: --report all|"Healed by {bar1_current:abschange}hp" more details in the help.  Thank you that worked, I was not aware of the the report command.
1592229050
The Aaron
Roll20 Production Team
API Scripter
It's fairly new. =D