Hello All, I found a previous topic (link here: <a href="https://app.roll20.net/forum/post/5338392/how-to-take-a-long-rest-w-slash-5e-ogl-by-roll20" rel="nofollow">https://app.roll20.net/forum/post/5338392/how-to-take-a-long-rest-w-slash-5e-ogl-by-roll20</a>) that I'd like to add something to, but can't seem to figure it out. I'd like to have it when I use the longrest to have the macro talk to the script and roll dice for something that gains xdx roll charges back at dawn. Staff Charges, ring charges, etc, but can't seem to get it to work. Instead of having the value to go max, how can I make it roll and add to what the value is currently? Example: Kaz has a ring with 2 charges and gains 1d4 charges back at dawn. This does not work: !setattr --silent --sel --repeating_resource_$1_resource_right|@{selected|repeating_resource_$1_resource_right|1d4} What I have: !longrest @{selected|character_name} !setattr --silent --sel --class_resource|@{selected|class_resource|max} !setattr --silent --sel --other_resource|@{selected|other_resource|max} &{template:atk} {{desc=**@{selected|character_name}** *Long Rest Taken* Reset HP, Spell Slots, @{selected|class_resource_name}, @{selected|other_resource_name}, @{selected|repeating_resource_$0_resource_left_name}, @{selected|repeating_resource_$1_resource_left_name}, @{selected|repeating_resource_$1_resource_right_name}}} !setattr --silent --sel --repeating_resource_$0_resource_left|@{selected|repeating_resource_$0_resource_left|max} !setattr --silent --sel --repeating_resource_$1_resource_left|@{selected|repeating_resource_$1_resource_left|max} !setattr --silent --sel --repeating_resource_$1_resource_right|@{selected|repeating_resource_$1_resource_right|max} Thanks!