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

Help With Vision Macro

1658415879

Edited 1658415939
I have set up macros using Token Mod to set vision for tokens. For example: my Torch macro  !token-mod {{ --on emits_bright_light emits_low_light --set bright_light_distance|20 low_light_distance|20 }} It works fine. The problem is that when I try to call that macro from a query it thinks the | inside the torch macro are new choices. Anything I can do about that or can you just not use Token Mod this way?
1658419796
David M.
Pro
API Scripter
Pretty sure token-mod allows you to use "#" in place of "|" for the parameter delimiter, to make use with queries easier.
Awesome thanks. Will give that a try!