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 .
×
May your rolls be merry + bright! 🎄
Create a free account

tokenmod

I'm having troubles with tokenmod applying things to both pc and npc they sorta reset the look of the bars but dont actually change anything. PC Macro !token-mod {{   --set bar1_link|hp   --set bar2_link|ac   --set bar3_link|class_rescource   --set name|"@{selected|character_name}"   --on showname   --on showplayers_name   --on showplayers_bar1   --off showplayers_bar2   --off showplayers_bar3   --on showplayers_aura1   --on showplayers_aura2   --on light_hassight }} NPC Macro !token-mod {{   --set bar1_link|hp   --set bar2_link|ac   --set bar3_link|class_rescource   --set bar3_value|@{selected|HP} bar3_max|@{selected|hp|max}   --set name|"@{selected|character_name}"   --on showname   --off showplayers_name   --off showplayers_bar1   --off showplayers_bar2   --off showplayers_bar3   --on showplayers_aura1   --on showplayers_aura2   --on light_hassight }} neither seem to work. i'm still really new to the api and such any help would be terrific 
1569723478
The Aaron
Roll20 Production Team
API Scripter
When you say the don't change anything, do you mean the changes aren't saved to the default token?  You need to tell it to do that: !token-mod --set defaulttoken You can combine that with other commands, just put it at the point where you want to set it (usually at the end).  Also, you don't have to keep repeating the operation if it's the same for the following arguments: !token-mod --on showname showplayers_aura1 showplayers_aura2 --off blah blah blah
1569767064

Edited 1569768450
no it literally does nothing, it changes nothing, not aura, not has sight, not the hp values nothing at all. nevermind that worked my api was stuck when i wrote that
1569773278
The Aaron
Roll20 Production Team
API Scripter
Ok, great!