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

Chatsetattr question

1613359266

Edited 1613406254
Is there a way to have it effect all characters with tokens on the map, sort of a select all? I have --mute set up but still get this message:  (From ChatSetAttr):  Your command is taking a long time to execute. Please be patient, the process will finish eventually.  Anyway to avoid that? Not the fact it takes a long time, but the message popping.
What is the full command you are using for chatsetattr it might help us understand how you are using it. From the documentation if you use the -all it affects all charactersheet and could be the reason why its taking so long inwhich case the script may post that message. The --sel affect any tokens you have selected with the caveat you still have to manually select tokens but you can select more than one. I also believe you can specifiy by charid which tokens you want to affect so if you have a party of 5 or 6 you could just supply those in the aurgement. 
I've attached several !setatttr --all --attribute|0 commands to the group initiative reroll to reset combat actions to 0 at the start of each round. So certain toggled/checked/macro enacted modifiers are automatically ended at the start of the next round. Obvious making it --sel and using CTRL+A with Initiative reroll is the best option, but I opted for --all in the hopes of avoiding the extra step (CTRL+A). I really don't mind the "long" wait, as it isn't that long. It's the notification, which shows up for each !setattr in the macro despite having --mute attached.