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 for 5e !longrest command not working.

I've added the OGL script to the game and it seems to function as I can call up the command list in the chat but it doesn't refresh spell slots when I give the long rest command. I'm the DM and I select a token and type the !longrest command. I'm using the 5e sheet by Roll20. Is there something I might have neglected to do in the settings?
Only works if you set "!spelltracking on" as far as i know.
1585688927

Edited 1585688950
Yup, I've done that but still no joy.
1585697240
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
According to the companion script documentation, the !longrest command needs to be followed by the character name. With the token selected, try: !longrest @{selected|character_name}
keithcurtis said: According to the companion script documentation, the !longrest command needs to be followed by the character name. With the token selected, try: !longrest @{selected|character_name} Keith, Thank you!