
Hello, I created a script for my D&d 3.5 game to memorize buff/debuff on character based on a selfmade compendium using json gmnote. It worked quite well for every personnal or targeted spell. My concerns is about multitargeted spell like prayer. For spell like that I would like to display a button, (2 infact :1 for taking the buff and 1 for the debuff) calling my script with some parameters and more specifically the token_id (or at least the characted id of the person clicking on the button). Usually I used @{selected|token_id} as parameter but it seems it is resolved when the API send the command and not when someone click on the button. Am I missing something ?