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] ChatSetAttr feedback in sheet template?

Hey guys, as simple as in the title, is it possible to give the feedback you get from chatsetattr the same appearance as everything else in chat? For instance, i'm using this simple ability for my fury of blows on the shaped sheet : @{Masa Jun|output_option} &{template:5e-shaped} {{character_name=@{Masa Jun|character_name}}} @{Masa Jun|show_character_name}  {{title=Flurry of Blows}} {{classfeature=1}} @{Masa Jun|hide_gm_info} {{content=Immediately after you take the Attack action on your turn, you can spend 1 ki point to make two unarmed strikes as a bonus action.}} !modbattr --fb-from Masa Jun --fb-header Ki points --fb-content I have _CUR0_ Ki points remaining. --charid @{character_id} --repeating_classfeature_-lmjbz570tatz7auhkwj_uses#-1  * And it shows up like that. (i keep it as private message on purpose for the moment). Can both look the same? Even better, can the feedback message be in the same bubble? Thank you for your time.
1566403827
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
There are two ways to do this. The first would be to use the Stylus extension to restyle the boxes. This would have the advantage of being independent of most script updates, but the disadvantage of being visible only to yourself. The second option would be to install ChatSetAttr manually and re-style the dialog boxes in the script itself. This would have the opposite situation in that all players would see the change, but you would need to update manually, and continually tweak each update to match. Both approaches would require some basic knowledge of CSS.
Thanks, I'm pretty good with stylus, I'm going to go that rout, it's less invasive and less of a hassle. Thank you for your time!
1566691411
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you do come up with a Stylus solution you like, I invite you to post it to this thread . I'm tired of being the only contributor! :D
1566739758

Edited 1566739792
Will do, I'm pretty busy at the moment, but I'll get on it eventually. Also, I like to color code my skills, it makes it easier for me to find them, do you think people would be interested in that? I have an OGL and shaped version (they're different because you can't sort your skills in OGL)
1566747362
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Somebody will find a use for almost anything people post. That color coding looks like a nice bit, sure.
Hey man, I finally had the time to sit down to try and restyle the chat boxes today, I can't seem to make it work, I can restyle one box but it doesn't apply to every new bubble from ChatSetAttr and I don't have access to the script; how do you think I can fix that?
1569779080
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can find most Roll20 scripts in the github repository . Here is ChatSetAtt .