
Hi,
I run a long-standing 4e campaign and I just dug this script off of GitHub and it does what it says it should do wonderfully. I do have a couple questions for the author or anyone knowledgeable in scripting. I'm not much of a coder and more of a fiddler, so writing chunks is generally beyond me. I simply wish to know if some of these scenarios are in fact, possible. https://github.com/shdwjk/Roll20API/blob/master/UsePower/UsePower.js
1: !add-use-power --foo --encounter 1 doesn't seem to work, though the rest do. This is not a huge deal because I can delete the macro and make a new one at the bottom of the list and it will work. I am wondering if it is possible to figure out why specifically, ability 1 is clogging it up?
2: I run several groups over the week in the same game, would it be possible to configure the script to give short and long rests to specific groups instead of globally? Perhaps by selecting the tokens of those that should get the rest?
3: In the forum post https://app.roll20.net/forum/post/1143437/script-usepower-use-tracking-and-flagging-of-encounter-and-daily-powers/?pagenum=1 there was talk about implementing powers that have a certain number of uses before they are depleted. Did anything come of that and I missed it on my search? An example, Channel Divinity powers often have two uses per encounter. Is it possible in this day and age for that to be accounted for? As I am writing this, I realized I -could- add the macro twice, mark them 1 and 2 respectively and do it like that.
4: Some powers are reliable, how difficult would it be to add a command to uncheck a power once it has finally been expelled?
I realize this is a very old script and probably the last thing most are thinking about implementing, so thank you to anyone chiming in and adding helpful thoughts and ideas. Also thank you The Aaron for creating this, its great!