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

Macro issue on dividing an attribute

Hello everyone, I'm creating my own charsheet for the first time (yeah), and I had some issues with divide operator. When i do a simple "/r 2/2" I get 1 (which is correct [is it ? :s)]. But when I try "/r @{myattribute}/2" I get the value of @{myattribute}. I someone else have the same issue ? How to solve that ?
1613322661
Kraynic
Pro
Sheet Author
No idea.  I opened a character sheet, went to the attributes and abilities tab, and created an ability. /r @{ps}/2 On that character, the value of ps is 16. Looks like it works fine to me.
1613351514
Oosh
Sheet Author
API Scripter
What's the value of @{myattribute}?