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

Help selecting multiple tokens using SelectManager and TokenMod

I'm hoping someone can help me finish this TokenMod command using SelectManager.  I have the full MetaScript Toolbox suite installed, as well as TokenMod. I have a bunch of map labels (arrows and names of buildings in a town) that combat is going to occur in, and it would be helpful to be able to toggle the arrows and names from being visible. All of the map labels are not linked to any character sheet, but are named either 'MapLabel Arrow' or 'MapLabel Name'. While testing and figuring out the syntax, I'm using an unlinked token named 'Oran', and I've gotten this far but now I'm stuck: !forselected token-mod --current-page --ids {& select Oran, +layer in [objects,map,gmlayer,walls]} --set layer|{&if @(selected.layer) = map}gmlayer{&elseif @(selected.layer) = gmlayer}walls{&else}map{&end} This correctly targets a token named Oran and cycles it through the map, gm, and DL layers (in case I want the labels to be totally invisible to myself as GM, they'll go to the DL layer).  However, it seems that the {& select Oran} command is only selecting a single token, not  all  tokens that are named Oran. How do I get  all  tokens on the current map named Oran to be selected and cycled through the layers?  Thanks for any help you can provide!  
I think SelectManager will select all the tokens with the Oran name by adding an asterisk. so {& select Oran* 
Joshua N. said: I think SelectManager will select all the tokens with the Oran name by adding an asterisk. so {& select Oran*  Yes... that's all it needed!  *bangs head against the wall* Thank you!