chat.addText
Prototype
public function addText(text, sendername)
Input parameters
text - text to add to the chat component
sendername - name of the sender of the text message
Return value
null
Description
Use this function to add custom lines of text to the chat. Normally text is added automatically by the lobby component.
Example code
chat.addText("Test message added to chat", "Developer");
