
Hi Using the CRP functions in a sheet worker script, I am trying to have a button in a roll template with a ChatSetAttr command in it The roll template looks like this : &{template:custom} {{title=Equipement}} {{subtitle=Truc}} {{desc=Xanesha}} {{text=Trucmuche est une arme magique affutée +3}} {{Prop:bonus-magique= +3 }} {{Prop:affutee= }} {{Objet=[Equiper](!setattr --sel --fb-from COF2e --fb-header Ajout équipement --repeating_equipement_-CREATE_equip-nom|Truc --repeating_equipement_-CREATE_equip-detail|Trucmuche est une arme magique affutée +3 --repeating_equipement_-CREATE_equip-props|bonus-magique: +3~affutee: ) }} @{Xanesha|token_dsp} I see the button as an hyperlink in the chat, but it does not do anything when I click it. If I inspect the chat window, I see it as an a element, but there is no href Same thing if I copy the button part only [Equiper](!setattr ...) and paste it in chat If I change the code in the sheet worker to issue the following command separate from the roll template !setattr --charid @{target|character_id} --fb-from COF2e --fb-header Ajout équipement --repeating_equipement_-CREATE_equip-nom|Truc --repeating_equipement_-CREATE_equip-detail|Trucmuche est une arme magique affutée +3 --repeating_equipement_-CREATE_equip-props|bonus-magique: +3~affutee: I see the popup that asks me to select a token as expected, and when I click the target, it also works as expected Any idea why it does not work as a button in chat ?