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

So Frustrated - "1 Click Ambush" Macro

I've been fighting this macro for two days.  Had it working, then it stopped. This is Nick Olivo's "1 Click Ambush" macro, which is supposed to: 1. Move hidden tokens from the GM Layer to the Token Layer. 2. Launch the Turn Order window and add turns (sorted) for each of the tokens. 3. Play fight music from the Jukebox. Here's my code: !token-mod --ids -P0xSFqbA7qYF5jr42Ty -P0xUHrdPR1x0iZbXEj0 -P0xUJ0Y-LIOk34l1397 -P0xUKkpqq4T0qcmXCU6 --ignore-selected --set layer|objects  !group-init --ids -P0xSFqbA7qYF5jr42Ty -P0xUHrdPR1x0iZbXEj0 -P0xUJ0Y-LIOk34l1397 -P0xUKkpqq4T0qcmXCU6 --sort  !roll20AM --audio,play|FightMusic All mod scripts are installed and everything was working yesterday.  This fails in various ways, sometimes does not launch turn order, sometimes launches but does not sort, sometimes does not play music, and currently; does not do *anything*. ANy help would be appreciated.
1788822035

Edited 1788822061
The Aaron
Roll20 Production Team
API Scripter
I'd start by verifying the individual commands work outside the macro.  Token ids are unique, so if you set it up on one page, then duplicated it, the duplicate will have new ids   If they all work separately, there may be a race condition between the GroupInitiative and Roll20 Audio Master commands. See if commenting one of those out makes it work with the other still in (so, add an extra ! to the !roll20AM to prevent it from firing). If that's works, you'll need to use some Meta Scripts to delay one or both of those commands. 
1788824072
The Aaron
Roll20 Production Team
API Scripter
I tried recreating that macro and setup in a test game and it worked for me.  Do you want to PM me a GM Join Link and I can come take a look for you?
Resolved! The Aaron swung in like Batman and did some jiggery-pokery, the Sandbox kept crashing due to an issue with Roll20AM.