
Below was given to me at some point. It resets the spell slots. How can it be adjusted to ONLY display current spell slots for the selected token? Thank you! !scriptcard {{ --/|Reset a selected PC tokens spell slots --/|VARIABLES TO SET --&OutputGMOnly|true --?"[&OutputGMOnly]" -ne "true"|SpellReset --#whisper|gm --:SpellReset| --#title|Spell Slot Reset --&CharID|@{selected|character_id} --%lvl|1;9;1 --&total|[*[&CharID]:lvl[&lvl]_slots_total] --?[&total] -eq 0|%! --&remaining|[*[&CharID]:lvl[&lvl]_slots_expended] --+Level [&lvl]|[b]Total: [&total] Remaining: [&remaining][/b] --?[&remaining] -lt [&total]|[ --+|Resetting level [&lvl] slots to [&total] --!a:[&CharID]|lvl[&lvl]_slots_expended:[&total] --]| --%| }}