ID:174440
 
How do I make it so on my games chat the basic color of text for all text is red. please help
well heres one way... for verb say()
mob
verb
Say(msg as text)
world << FONT COLOR=RED[msg]/font
this would make what everyone say with verb Say() red
there should be < and > around the words font color=red and /font.. i took them out so u could see what i mean instead of the forums makeing "[msg]" red
In response to Theosco
thanks but thats not exactly what im looking for... I mean like I know how to make the say,shout verbs ect.. colors, What I need to know is how do I make my chat text one main color? Like everything is red... All the text, not just a verb, can anyone help?
In response to Majinveku
client/script = "<STYLE>system {color: red; font-weight: bold}</STYLE>"
this is it u can just copy paste it, all text well be red
this is pretty invance i think so when u posted on newbie central... u get my point
In response to Majinveku
In addition to Theosco's suggestion, you can use a more detailed style sheet by creating a new .dms file for your project. (You'd do this just like creating a new icon or map or code file.) A .dms file is laid out something like this:
<style>
body {color:red; font:10pt Arial,sans-serif}
.teamsay {font-style:italic}
.admin {color:black; font-weight:bold}
</style>

macro
Space return ".Center"
Insert return "Scan"
Delete return "Jump"
The macro section and the style sheet are both optional. By setting up the dotted styles like .teamsay, you can use <span> tags to put styles around your text:
mob/verb/team_chat(msg as text)
set name = "Team Chat"
if(!team) return
msg = SpamCheck(msg)
if(!msg) return
team.members << "<span class=teamsay><b>[name]:</b> [msg]</span>"

Lummox JR