
Good afternoon all, I am trying to find/write a macro or API script that returns the remaining number of uses for a limited use ability. For example, a character has 3 uses of a power. After each use, I would like it return the number of uses left. I tried and failed with the script below. ----------------------------------------------------------------------------------------------------- !roll20AM --play,|Rolling Smoke| /as "Blackguard on Nightmare" **"Bathe in the darkness I bring"** /ooc each ally of the Blackguard on Nightmare has conceal 6 until end of round @{selected|character_name} has [[@{selected|Champion Power}-1]] Champion Power uses left. -------------------------------------------------------------------------------------------------------------- It always returns the value of 2 (the blackguard has 3 uses of this power) I would like it to return a value of 1 after the second use and 0 after the third. Any help appreciated! -GTH