<a href="https://gist.github.com/Parmeisan/fc5827ed55081a81" rel="nofollow">https://gist.github.com/Parmeisan/fc5827ed55081a81</a>...
What Does it Do? This script keeps track of changes that you make to cards that are on the table as tokens. When you move it into your hand, it saves the state. When you drop it back on the table, it loads it. Reset the card by dragging it directly to the table. Note: It can also keep track of text & paths drawn onto the card, but this feature is turned off by default because, due to limitations within the API, it only works to load these to the same page they were saved from , and you have to manually use "send to back" on the card each time it's loaded [fixed] . Turn this on by setting saving_graphics to true. (It's about the fourth variable in the script.) Why Do You Want It? It lets you extend the use of cards so that you can do various things with them and have the game remember. For example, maybe you are using decks for your Inventory and you want to be able to keep track of durability or ammo. (PS. This script is a response to this discussion ). Example Behold: <a href="http://agile-games.net/misc/images/inv_ext_screenc" rel="nofollow">http://agile-games.net/misc/images/inv_ext_screenc</a>... (The gif animation doesn't show up if I put it directly in the post, so it's a link instead. You can't really get the effect with a still image, but I'll include a couple anyway because who doesn't like pictures?) This example has saving_graphics turned on, so that I didn't have to make two examples. Usage: The saving and loading happens automatically when cards are moved to or from the tabletop. Clear card data with: !inv clear-all (All saved cards) !inv clear-this (Selected cards only.) Updates & To-Do: (as of March 29, 2014) [FUTURE] As soon as the API supports it, fix the issues with saving graphics and paths, then make that behaviour standard. [UPDATED] Manual send-to-back no longer necessary. [UPDATED] Made everything a little more robust; save & load no longer depends on your hand in any way. Consequently, added chat commands to clear out your saved cards. [TODO] A chat command to clear out a particular deck only. Possibly a preference for auto-clearing decks on shuffle.