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 with chatsetattr

1568940730
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I thought I had this figured out because it works perfectly for me, but at the beginning of our first session the players reported an error.  This is what I have in the HTML <button type="roll" class="radiobutton" value="!setattr --silent --all --Momentum|0"> I can set the shared variable between sheets as a DM but apparently players get thrown the error on their sheets and it doesn't update anyone elses. 
1568958161
GiGs
Pro
Sheet Author
API Scripter
The image doesnt show, so i cant see what the error is.
1568970320
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Oh really? Its Errors No target characters. You need to supply one of --all, --allgm, --sel, --allplayers, --charid, or --name
1568986639
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can check ChatSetAtt to make sure you are allowing player access; it’s one of the settings.  
1569011632
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Yesss! That did it! Thanks Keith