
Hey folks, After watching Nick Olivio's video on ChatSetAttr I got wondering if I could use that or another script to do something specific. I'm running a Gumshoe game and want to use the API to deduct points spent from values in the GUMSHOE character sheet - <a href="https://wiki.roll20.net/GUMSHOE_Official_Sheet" rel="nofollow">https://wiki.roll20.net/GUMSHOE_Official_Sheet</a> I have a macro for each General Ability which prompts the player for the number of points they want to spend, that number is then added to their dice rolls. What I'd like is to have the API (or a macro if that's an option) to deduct the number of points chosen from that ability automatically. e.g. the character has a Stability test and rolls 1d6, they opt to spend 2 Stability points to increase their chances. Macro outputs the roll and then the API / macro deducts the 2 Stability from that attribute. I initially thought that ChatSetAttr would do this for me but it either doesn't or I'm using it wrong... Macro - &{template:@{selected|sheetswitch}} @{selected|stability_dice} {{rname=^{stability-a}}} Any help appreciated, even if it's to say it can't be done! Cheers, Dave