I love this script. I am not the original author, but I don't think Kevin has been active on the forums in about two years. I have updated it to give it more flexibility. If you have been using version 0.2.6 of the script, the base command !ta, will create a few more buttons. but you can now fine-tune which buttons are produced. GiGs also contributed logic to assign actions by name rather than character_id if this is more useful. This script creates token actions on selected tokens for the D&D 5e by Roll20 sheet. Tokens must represent character sheets, either PC or NPC. !ta This command will create a full suite of token action buttons for a selected character. Actions for NPCs and Attacks for PCs. !sortta This command functions identically to !ta, but will prepend "a-" to NPC actions, and "al-" to NPC Legendary Actions. It is not intended for PCs, whose Token Action Buttons are already created in sort order. (So are NPCs, but this makes the difference clear between Actions and Legendary Actions, for instance.. It is "al-" instead of "la-" to do better grouping for players who prefer to display token actions in alphabetical order. !deleteta will delete ALL token actions for the selected character, whether they were created by this script or not. Use with caution. You can create specific classes of abilities by using the following arguments separated by spaces. Arguments can be given in any order: attacks Creates a button for each attack. In the case of NPCs, this includes all Actions. traits Creates a button for each trait. PCs can have quite a number of these, so it is not recommended to run this command on PCs. reactions Creates a button for each reaction. This will be ignored on PCs since only NPC sheets have a repeating attribute for reactions. spells Creates a button that calls up a chat menu of all spells the character can cast. checks Creates a drop down menu of all Ability and Skill (Ability) checks saves Creates a dropdown menu of all saving throws init Creates a button that rolls initiative for the selected token pc creates full suite of buttons for everything but traits. Although this will also work on npcs, the intent is to not include trait buttons for pcs, which can get rather numerous. name Normally, Token Actions are created using the character_id. They will still function even if the character is renamed. However this is not always desireable. If a character is moved to a new game via the Character Vault, it will receive a new character_id, and the token actions will not function. If you intend to move the character, use the "name" argument in the string and it will call the token actions by name. help Calls up this help documentation Examples: !ta will create all token ability buttons for the selected character. !ta saves checks will create token ability buttons for Ability Checks and Saving Throws. !ta spells will create a token ability buttons that calls up a chat menu for the character's spells. !ta name will create all token ability buttons and identify them by name, rather than character_id. !ta name pc will create all token ability buttons and identify them by name, rather than character_id, but not for traits. !ta help will give you all of the accepted arguments Here is a chat menu that you can fit into whatever setup chat menu you might use: /w @{selected|character_name} &{template:npcaction} {{rname=Create Token Actions}} {{description=[All](!ta) | [Attacks](!ta attacks)) | [Spells](!ta spells) [Checks](!ta checks) | [Saves](!ta saves) | [Initiative](!ta init)
[Delete ALL Token Actions](!deleteta)--Caution!}} Output looks like this. If you like the nice neat buttons instead of the Big Pink Buttons Roll20 uses by default, check here: Inline Links on OGL Roll Templates This is available in One Click.