Does anyone have a code block that will loop through all the characters in a folder, add an attribute, and set it to a value?
Now that I have 100+ monsters set up in the journal, I find that I want to add a new attribute to all of them to improve my macros or fix an oversight. Today, I have to drag a token onto the map and run the "!setattr" script. That means I wind up with a population of tokens that are up to date an others that I will stumble onto during a game and have to upgrade when my macros suddenly fail.
Here's a visual example of what I'm trying to do.
Now that I have 100+ monsters set up in the journal, I find that I want to add a new attribute to all of them to improve my macros or fix an oversight. Today, I have to drag a token onto the map and run the "!setattr" script. That means I wind up with a population of tokens that are up to date an others that I will stumble onto during a game and have to upgrade when my macros suddenly fail.
Here's a visual example of what I'm trying to do.