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

ChatSetAttr+TokenMod targeting issue

Hey! I'm running into an issue where I want to edit the attributes of the selected token (with ChatSetAttr) and also change a targeted token's status markers (with TokenMod) simultaneously, but cannot. Can anyone help?
Can you post the full macro code you are using?
I'm not sure if this is what you're looking for, but here! ---------------- !modattr --sel --Actions|-3  --silent **Detain:** Choose an enemy in your Threat Area. They **cannot move** while within your Treat Area next turn.  *Recharge.* /em : @{selected|Name} locks a nearby enemy down! !token-mod --set statusmarkers|!padlock --ids @{target|token_id}