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

Transaction notes for Warhammer RP

Hi guys, I'm totally new to the API. I was wondering if there exists any script already that does the task of keeping track of all money transactions? I'm thinking something that would enable a command like /gold add [amount] [comment] /silver pay [amount] [comment] And that would compile a registry of all modifications to a player's currencies amounts that could be reviewed whenever necessary (for example, recently I paid a large amount for something and in the next session the DM had reviewed the rules and told me I could regain part of that amount, but nobody remembered the exact amount that had been paid...). I find the way we're doing it right now (just manually changing the amount of currency left in the character sheet without any recorded tracking) a bit flaky.
1645891668
GiGs
Pro
Sheet Author
API Scripter
A script like ammo or chatSetAttr can add or subtract from an attribute, but they arent designed to keep a historical ledger. That would require a custom script.