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 me Problem Solve !TA (Token Action API)

Does anyone know how to remove multiple instances of the same token action? All my NPCS have like 3 saves, 3 init, etc and it's driving me nuts. I tried using the deleteta arguments, but to no avail.
Take a look under your game's "Collections" tab.  Some modules and add-ons put macros in there and assign them as token actions.
1721066926
Gauss
Forum Champion
Hi JK,  Token Action Maker puts them in the Attributes and Abilities tab of the character. Please check that tab to make sure there are no duplicates.  Also, make sure you deselect a token and reselect it after making any changes to the token actions as buttons will not repopulate until you do so. So you may have deleted them but without deselecting/reselecting it won't be represented. 
Rick A, that did the trick! Thank you!
1721074980
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi JK! Another thing that can happen is running !ta twice can duplicate some actions because of poorly implemented safeguards on my part. You can regenerate token actions by using !deleteta followed by !ta . Note that if you have any custom actions you want to protect from deletion, make sure to end them with a period (ex. "Rage."). Token Action Maker ignores such token actions when deleting. Also, if you have a module that has some existing token actions and you want to ignore some types, you can craft !ta with keywords to only create actions of that type. See the documentation for details.