I've been running Nick Olivo's Roll20AMHelper.js script (https://www.youtube.com/watch?v=KDadzHldaqA) and it works great, but I have one problem with it that I can't seem to fix. When I run it with a Powercard healing macro, the sound for it plays fine the first time. However, Roll20 will then rebuild the playlist and the permission for the file used will be locked again. I then have to manually unlock the sound to use the macro again. If I have Roll20AMHelper deactivated, I don't have the problem. For illustrative purposes, I've included the following pictures:
After using the powercard Macro:
The error message that follows the second time I try to use it:
And here's the macro I'm using:
!power {{
--charid|@{selected|character_id}
--soundfx|_audio,play,nomenu|cure wounds
--emote| @{selected|character_name} Drinks A Potion Of Supreme Healing.
--|[[ [$R] 10d4 + 20 ]] *HP Points Recovered*
--alterbar1| _target|@{target||token_id} _bar|3 _amount|[^R]
--vfx_opt|@{selected|token_id} holy-nova
}}