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

Token-Mod and Send to Chat for trap action???

I know there are trap API but I am trying to get this to work with what I have and what I know my friends also use so it can be used in their games as well.. It "should" be possible.. So I have an image on the gm layer of a pit trap. I wish for Send To Chat to trigger Token-Mod to send the image to map layer as well as a little comment. So in the Sent To Chat box I have: &{template:default} {{name=Pit Trap}} {{=@{instigator_name}'s fat butt just fell through the floor and into a pit trap taking [[1d6]] points of damage.}}{&simple} !token-mod --ids -OlDQL4ahYUfpTQdgcAJ --set layer|map !token-mod --ids @{instigator_id} --set layer|objects 1st line comment 2nd line sending pit trap image from gm layer to map layer 3rd line to send the player token back to the token layer because for some reason it also gets sent to map layer As GM this works perfectly. On a player account the comment goes through and the player token gets sent to the map layer the pit trap image does not change layers. Any ideas? Also, not in love with this method so another way to get it to work would be greatly appreciated as well as any help at all.
Because I woke up at 3am and I am a D&D addict I had to hop on pc and try to get this to work again lol. I got it. I had not turned on players being able to use ids in token mod: !token-mod --config players-can-ids|on I also saw --ignore-selected after reading the Token-Mod page 30x. So this works. &{template:default} {{name=Pit Trap}} {{=@{instigator_name}'s fat butt just fell through the floor and into a pit trap taking [[1d6]] points of damage.}}{&simple} !token-mod --ignore-selected --ids -OlDQL4ahYUfpTQdgcAJ --set layer|map Can add other bells and whistles like fx or whatever but core works.