Basically what I'm looking for is a way to put html directly into the chat without the: <div class="message general you"> … </div> Currently the fact that /direct shows up in this container makes it very hard to style anything suitably. A way to add a style to the div could work as well, maybe you could pass a object to send instead of a string ie: { style:"background-color: red;", message:"Hello World!" } That would produce: <div class="message general you" style="background-color: red;">Hello World!</div>