Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Rest Macros

Hi everyone, I've recently ventured into Roll20 more deeply thnks to my state's quarantine, and am currently trying to get any of the macros for short or long rests that are out there to actually work.  I can't seem to get a single one to function properly.  The best I have managed is this one: !longrest @{selected|character_name} !modbattr --silent --sel --class_resource|-1 !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}} It qualifies as best because it doesn't give any errors like the others do.  However, it never actually resets any of the resources, or changes the numbers within them in the slightest.  I can't find a single short rest macro that will make it through without issuing an error.  I have no idea what I'm doing and could really use some help.  Ideally, I just want something I can use to spend hit dice for long rests, and reset things properly for short or long rests. TIA.
1585114510
GiGs
Pro
Sheet Author
API Scripter
The lines  that start with ! are API script commands. You need to be a Pro subscriber to use scripts.
Ok, well that certainly helps explain my problems.  Does there exist ways to do rests without becoming a Pro subscriber?
1585115522
GiGs
Pro
Sheet Author
API Scripter
Unfortunately no. Below pro subscriber level, macros can only read values from a sheet, they cant edit or change values. That has to be done manually.
Oh well.  Thanks for the info, though!
1585126111
Ziechael
Forum Champion
Sheet Author
API Scripter
There is nothing to stop you having a macro that prints a list of 'things to do' on a rest as a handy reminder though :)