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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Simple use of select manager

I want to do something spectacular when the players are in the room, with in fact is a series of effects. I'd like to select a token by its id number (I know how to get it :)), then apply macros such as variations of bump I created. And I want a series of bumps, selecting a different token (by its id) each time. And (cherry on the cake) a way to make those things one after the other, like with a one second interval...I first tried something like : {& select -MuRHeyYWzCl5XlLQi-j)} !bump I am sure you'll laugh, but it was not exactly a success :)...
1643639278
timmaugh
Forum Champion
API Scripter
Hey, Eric... 2 things... First, I see a closing parentheses in that token id, which is not a part available characters when Roll20 constructs an ID, so I know that shouldn't be there. Second, the meta-construct {&select} has to be in the script command line that you want to affect... so if you want it to work in the bump command, it needs to be in that line (ie, following the ! somewhere): !bump {&select -M1234567890abcdef}
Great. That helps !!
Actually, quite a silly question. just used !bump --ids <id_number>
1643739096
timmaugh
Forum Champion
API Scripter
True! Had totally forgotten the availability of that particular argument in the bump script... but the syntax rules still hold for the next time you *do* need to use SelectManager. =D