I recently set up a board game on Roll20, and it would be super helpful if I could automate a few of the routine tasks that occur during play or setup. 1. First, and most importantly, I would like a function that: (1) looks for all tokens on the token layer; (2) determines whether they came from one of several named decks; and, (3) if they did, flips them face-up (until they are recalled back into the players' hands). For example: Cards "1" "4" and "7" of the deck "Baratheon - Order Tokens" have been played face-down onto the tokens layer by "Player1" and cards "4" "5" and "13" of the deck "Stark - Order Tokens" have been played face-down onto the tokens layer by "Player2." Each token (potentially) has a different image on its face-up side. I want to have a button or command that will cause all of these tokens to show their face-up side at once. However, this should not change the fact that they initially show their face-down side the next time they are played. 2. Second, I would like a function that: (1) looks for all tokens on the GM layer; (2) determines whether they came from one of several named decks; and (3) if they did, moves them to the tokens layer. For example: Cards 1 through 14 of the "Forts - 3 player version" deck have been placed on the GM layer. During setup, I want to move them all to the same position on the map, but on the tokens layer. However, the GM layer also includes all the cards in the "Forts - 4 player version" deck, which I do NOT want to move onto the tokens layer. Tokens from the different decks will overlap in space, meaning that it is hard to group-select them. Currently all these tokens are put into decks, but I could change them to ordinary tokens if that would make things easier. 3. Third, I would like a function that: (1) takes a player name as an input; (2) takes a role as an input; and then (3) deals that player all cards from each of several named decks associated with that role. For example: "Player1" will be playing "Baratheon." I want to deal "Player1" 7 cards from the "Baratheon - Character Cards" deck, 15 cards from the "Baratheon - Order Tokens" deck, and 20 cards from the "Baratheon - Power Tokens" deck. I then want to do something similar for "Player2" and "Stark." Etc. 4. Fourth, I would like a function that: (1) looks for all tokens on the token layer; (2) determines whether they came from one of several named decks; (3) associates a specific player with the named decks; and (4) has that player pick up all the appropriate cards. For example: Cards "1" "4" and "7" of the deck "Baratheon - Order Tokens" were played by "Player1" and cards "4" "5" and "13" of the deck "Stark - Order Tokens" were played by "Player2." After manually resolving the effects of those cards, I want to recall c ards "1" "4" and "7" of the deck "Baratheon - Order Tokens" to the hand of "Player1" and recall cards "4" "5" and "13" of the deck "Stark - Order Tokens" to the hand of "Player2." Does anyone know whether these are tasks that the API is capable of performing? And, if so, can you point me in the right direction as far as examples, or documentation of the appropriate functions to call? Thanks so much for your help!