When writing chat and create a chat:
The first word should nickname the player and have a different color. If I wrote what siny orange and the other players.
An example of how the game
<img src="http://cs7002.vk.me/c411116/v411116472/ba3b/bPirJoflutU.jpg" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
Rex has created a chat plugin you can look at.
This I learned long ago I just need to make a login and colored text in a different color and was a login that can be pressed to open and player profile and add emoticons