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

Character Ability Macros work in Edit mode but not with Token Actions

I'm experiencing what I think is a weird bug. I've got a character in my campaign set up with a bunch of ability macros. All of the ability macros work perfectly, but only when I am in edit mode in the Journal and I click the "Roll" button. If I leave edit mode and click roll, try to click the ability from the Token Actions list, or try to add it as a Macro Bar action, I get one of two errors: ReferenceError: charname is not defined or TypeError: Cannot call method 'toLowerCase' of undefined I know this is not a syntax issues with the macros because they work perfectly if I am in the Journal->Edit Mode, but they don't work anywhere else. Anyone run into this issue and have any workarounds?
Nevermind, I figured out the issue. Turns out it was because I was using the | character in my Macro names. If you do this, it breaks the macro. I'll post this in the Bugs forum; the system should prevent you from using the | character in Macro names for this reason.
1389520382
GiGs
Pro
Sheet Author
API Scripter
That's good to know. Thanks.