View Single Post
  #1  
Unread 11-15-2012, 03:55 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default Removing hex colors from text/string?

Anyone know of a method of shuffling a text string around in the UI to remove the hex code part?

Example being the On Screen Message window showing red text. Will instead of that text having a color property in the UI, SOE just uses stuff like:
\#FF0000The mob starts to cast a powerful effect.
Some of these events don't go into the chat window (for parsing) so I was trying to figure out a way to /say or /echo or whatever and plop the text there, but you can't put hex codes like that into normal chat text.

I found you can put it into a TextInput and see it visually, but doesn't really help for what I want. I want it going into text, aka, log files.

Anyone have any ideas for this?
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote