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

[Script Desired] Chat - Text Box color change per Character

Hello. I'm new to roll20, so I don't know if this is a topic that has been covered in the past. I've just gone through some of the API and I don't see a solution to my question. And, it appears as the API doesn't change how the chat functions, so I am starting to think this is something that can't be changed with an API script. But, I might be wrong. Is it possible for there to be a way for different characters to have different colored boxes in the chat? For example, all my characters have blue backgrounds when I type text and roll dice. All my friend's characters have gray as a background color.  I'd like my cleric character to have a yellow background. My drow character to have a purple background. Her druid character wants a green background. And so on. It would make it so much easier to spot when a specific character is acting and rolling dice, we'd just have to keep an eye out for that color.  We are a bit old school, I know, but we do more text based role playing, with the map and dice as supplemental. So having an easy to read chat buffer is important to us. Thanks everyone! 
1543446099
Gen Kitty
Forum Champion
The Suggestions & Ideas forum is for changes to the base Roll20 VTT.  If you would like an API script written for you, I can move this thread but it would require the creator of your game to have a Pro level subscription. Please let us know whether you are looking for changes to Roll20 itself or a script instead.
As I'm new to the site and have just started using the chat, I suppose I don't know the answer to that. I assumed that it couldn't be done with an API script, because if that were true, it would have been done already. I noticed the thread on helping those with color vision difficulties and the response there was that it would require extensive rewrite to the look and feel of the base program. My question is, can it be done with an API Script or would this require too big of a change and would have to be done to the base chatting program? 
1543452591
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The API could do this, in fact there is a script already for it, coloremote. Or it could be done via roll templates from the sheet as the Pathfinder community sheet does. I'm not sure if it's the most recent release of coloremote, but you can find ateast one version of the script here:&nbsp;<a href="https://app.roll20.net/forum/post/2972233/script-coloremote-release-v0-dot-1-2-long-form-colored-emotes-based-on-character-token-or-player/?pageforid=2972233" rel="nofollow">https://app.roll20.net/forum/post/2972233/script-coloremote-release-v0-dot-1-2-long-form-colored-emotes-based-on-character-token-or-player/?pageforid=2972233</a>
I was looking at that one but didn't see the offered thread with a better description. Thank you. Gen Kitty, If you want to remove this thread from this forum and put it elsewhere, to help with keeping the topic clean, I understand. Wherever you think it should go. Thank you very much for your assistance.
1543518491
Gen Kitty
Forum Champion
I'll go ahead and move this over to API then.&nbsp; Just remember: The Creator of any game using API must have a Pro level subscription. :)
I was actually looking around for something like this today. Was not really able to find much on the subject. Although I use color emote script, which I do like, for when NPC's or PC's are trying to express a thought or saying. But some players still resort to the /em or /me way of doing this. One of the players in my campaign has a slight vision impairment. The orange box with bold orange text, he cant make out the difference, so it is just a grey box to him. We do try to use templates, or omit the /em, but there are still instances of this. I was actually looking at Stylus or possible API to see if he could change the bold orange print to maybe black, on his end. Or a global change via API. That way he could continue to read posts and or sheet button rolls, as they get launched.
1543521658
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you are talking about the /em emote command, try it again. An updated was just pushed in the last day or so to improve contrast for the vision impaired. BilBo 2 said: The orange box with bold orange text, he cant make out the difference, so it is just a grey box to him.
1543521739
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
TLoz, you could try this Stupid Trick . It wouldn't change text or background color, but you could use it to put a bar of color or an identifying graphic in the header.
Well look at that, I went into game and hit a few buttons, and it is much darker. I will ask my friend if he can see it now.... Ask and ye shall receive....lol