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

[Help] Group Initiative with token bars

Hello!  I'm trying to get Group Initiative set up to use current  token bar variable. The API is working correctly, when I use "!group-init --add-group --bare init --tie-Breaker init|current" for the pathfinder community sheet it works fine. But it does not seem to work with " !group-init --add-group --bare token_bar 2". Am I using a wrong command? It does not work both on tokens that are connected and unconnected to sheets. I tried setting it for all 3 bars and using  --Bare token_bar (x) command, but nothing helps. Here's what it looks like:   The token has 1 in the first bar, 2 in the second and 3 in the third bar. Can someone tell me what am doing wrong? Thank you in advance,
1571361978
The Aaron
Roll20 Production Team
API Scripter
--bare is only for attributes.  you'd want something like: !group-init --add-group --token_bar 2
Thank you for your reply! Sadly it does not help, I've deleted my old attemts and added what you've suggested but it does not work. Do you perhaps have any other ideas?
1571499153
The Aaron
Roll20 Production Team
API Scripter
Hmm.. Looking at the code for this, it seems like that could never have worked.  I wonder if I started adding it and forgot about it and rolled it out by mistake.  I'll have to do some reorganization to get it working, and It may be a bit before I get the chance.  Sorry about that. =/
The Aaron said: Hmm.. Looking at the code for this, it seems like that could never have worked.  I wonder if I started adding it and forgot about it and rolled it out by mistake.  I'll have to do some reorganization to get it working, and It may be a bit before I get the chance.  Sorry about that. =/ Oooh, that's too bad. Can you pm me or post here when the API will support token bars?
1571519458
The Aaron
Roll20 Production Team
API Scripter
Yup