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 .
×
Create a free account

OGL 5e Companion API - !longrest Command does nothing?

I'm using the OGL 5e Companion API, and can't seem to get the !longrest command to do anything. I've seen  this post  and taken the advice followed there, but I don't get any feedback to the chat at all and nothing happens. I've set  !longrest @{selected|character_name}  up as a token action macro and that doesn't do anything either. The script itself seems to be working, as I've got the spell slot and death save tracker working
I haven't checked, so this may not solve your problem, but do you have ammotracking on both character sheets in game and under 'Game Settings'  (near very bottom) on the campaign launcher page? I think !longrest uses ammotracking's function to reset spell slots, ammo and health. I hope this helps
Dave T said: I haven't checked, so this may not solve your problem, but do you have ammotracking on both character sheets in game and under 'Game Settings'  (near very bottom) on the campaign launcher page? I think !longrest uses ammotracking's function to reset spell slots, ammo and health. I hope this helps I didn't have it on, but switching it on didn't fix anything. Thank you for the suggestion though!
Hmmm...not working for me either. And I don't see any errors on the API page. Have you gotten any answers yet?
Do not work for me either.
Big thanks to keithcurtis for solving the issue (at least for me). Click on the token who needs the long rest, then enter the following command:  !longrest @{selected|character_name}.  If that doesn't yet do you good, then try clearing out the chat log and if THAT doesn't work, empty your browser history (Cookies, etc.). Hope that helps.