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 .
×

Need help with API

So i saw you could probly make a macro that added all selected tokens to the initiave tracker and hopefully also be able to roll their initaive. But ive only run into troubles trying to make a script. So now i come to you asking if anyone could help me figure out how this mystery system works
Group initiative is what you want start here:&nbsp; <a href="https://app.roll20.net/forum/post/1843631/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/1843631/slug%7D</a>
I tried useing those but whenever i put in !group-init it would just spit out that "group is not defined"
1467846839

Edited 1467847408
vÍnce
Pro
Sheet Author
KpsyChopath said: I tried useing those but whenever i put in !group-init it would just spit out that "group is not defined" You need to add a group, something like !group-init --add-group --Tie-Breaker dexterity or maybe this for 5e(shaped) !group-init --add-group --Bare initiative_overall --Tie-Breaker initiative_overall You can run !group-init --help and post a screen shot of your current settings also. &nbsp;Very handy for getting help. Have a read on the&nbsp; Group Initiative thread and scroll down to the Add-Group Detailed Explanation Cheers
1467848363
The Aaron
Pro
API Scripter
Let me know if you need help. I can work through the setup with you if necessary. When I get moved, I want to rewrite the configuration system for this.&nbsp;
1467848883
vÍnce
Pro
Sheet Author
Arron, your response time has dropped immensely. &nbsp;Get it together man. &nbsp;;-P
1467849470

Edited 1467849495
The Aaron said: Let me know if you need help. I can work through the setup with you if necessary. When I get moved, I want to rewrite the configuration system for this.&nbsp; I tried useing vince's example but it seems to be spitting out SyntaxError: Unexpected identifier. And if you could help me how to use a API that would also be super apperciated
1467857544
The Aaron
Pro
API Scripter
Sorry Vince! &nbsp;Normally I have the forum open on a 5min refresh constantly, but it's been hard this summer... KpsyChopath, if you want to PM me a join link and GM me, I can sort that all out. :)