This script is designed to create token actions for use in PTU (Pokemon Tabletop United) that use the Pokemon Tabletop United character sheet. You are required to be able to select a token before you can create the token actions. The script also includes commands that check a Pokemon/trainers move damage type then roll the appropriate template. NOTE: The token actions for Moves and move table requires this script to be enabled. Syntax For creating token actions the syntax is: !ptuta --option1 --option2 ..... Where the options are moves , mtable, speed, DELETE. For example if I wanted to setup all the moves, speed and the mtable I would select a token that is linked to a character sheet and do the following command: !ptuta --speed --moves --mtable This would result in the following token actions for the selected token Creating token actions is only needed once, they use the attributes on the character sheet so only the character sheet needs to be edited. Each of the M1,M2,M3... (M&lt;no&gt;) correspond to Move 1, Move 2, Move 3... Each of the M&lt;no&gt; runs the second command included in the script to see what is the appropriate template to use for the move. MTable reads the attributes for each move then lists them in a table with a API Button which does the exact same as the M&lt;no&gt; token actions. Please note to use the M&lt;no&gt; buttons in the Table the corresponding token still needs to be selected. The MTable looks like: IMPORTANT: The DELETE option must be executed in all capitals as a small safeguard because it will remove ALL Abilities on the Attributes & Abilities tab of the selected token. NOTE: Character sheet attribute checks only occur when a move is used and your players will get a message for what they need to fix. The syntax for checking a moves damage type then rolling the template is: (Take note that you can ignore this and just us the Token actions part of the script because it automatically uses this:) !PTUMove --[1|2|3|4|5|6|table] The Syntax on this command is stricter due to users don't really need to ever use this command. I included the move table command here. The options are straight forward. If I wanted to use the Move in the Third move (Move 3) I would do the following: !PTUMove --3 This will check the attributes for move 3 and report if anything critical is missing without rolling the template to prevent API crashes, after clearing the attribute checks it then checks the move type which can be Physical, Special or Status. Afterwards it then rolls the appropriate template. <a href="https://github.com/WarrenJGlobal/Roll20Api/blob/ma" rel="nofollow">https://github.com/WarrenJGlobal/Roll20Api/blob/ma</a>... Known Issues Inefficient code. (My bad) Some Messages from the API to players that are speaking as a character with spaces in their name spills over into the message (Namely the token action creation part). Thanks to Kevin who originally created a token action script and what I used for the basis of the script. Also thanks to The Aaron for helping me out!