I recently saw an older forum post for a long-rest macro utilizing ChatSetAttr api script, but when I tried to implement it I noticed it wasn't actually resetting the hp and I didn't like the look of the output. I updated the macro to include the command to reset hp as well as changed the output template to npcaction vs. atk. Orig credit to Mark R. 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> . !longrest @{selected|character_name} !setattr --silent --sel --hp|@{selected|hp|max} !setattr --silent --sel --class_resource|@{selected|class_resource|max} !setattr --silent --sel --other_resource|@{selected|other_resource|max} &{template:npcaction} {{name=@{selected|character_name}}} {{rname=Long Rest}} {{description=Reset HP, Spell Slots, @{selected|class_resource_name}, @{selected|other_resource_name}}} Per Mark's orig post, you can add the below if you're utilizing add'l resources. !setattr --silent --sel --repeating_resource_$0_resource_left|@{selected|repeating_resource_$0_resource_left|max} !setattr --silent --sel --repeating_resource_$0_resource_right|@{selected|repeating_resource_$0_resource_right|max} Add below to template:npcaction @{selected|repeating_resource_$0_resource_left_name} @{selected|repeating_resource_$0_resource_right_name}