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

Script Card Macro- worked on old campaign but not on new

I have the following Script Card Macro which sets the strong statusmarker with a number. This worked fine now i created a new campaign and i have the exact same macro, tokenmod knows about the strong marker, Script card and tokenmod are installed and work fine outside of this. Here is the script !script {{ --#title|BonusAttack --c?{Lvl|1|2|3|4|5}|2:=lvl;2|3:=lvl;3|4:=lvl;4|5:=lvl;5|1:=lvl;1 --@token-mod|_set statusmarkers|strong:[$lvl]  _ids @{selected|token_id} --+|[c]You have [$lvl] extra Attack[/c] }} Any help would be appreciated
1716402951
timmaugh
Forum Champion
API Scripter
Have you configured TokenMod? I think you haven't turned on playerscanids. I'm not in front of my computer, but I think the syntax is near the bottom of the help documentation for TokenMod.
Thanks, that was the case, totally forgot i did that for the other campaign