|
<script language="JavaScript" runat="server" src="Settings.js"></script>
<script language="JavaScript" runat="server" src="MessagesClass.js"></script>
<script language="JavaScript" runat="server" src="LimitedXmlClass.js"></script>
<script language="JavaScript" runat="server" src="IncorrectInputFilter.js"></script>
<script language="JavaScript" runat="server">
/**
* Addition of a new message for the chat.
*/
function addMessage(strNick, strMessage, moodType) {
var clientIP = Request.ServerVariables("REMOTE_ADDR");
var objMessages = new Messages;
objMessages.addMessage(clientIP, strNick, strMessage, moodType)
}
/**
* Addition of a new system message for the chat.
*/
function addSysMessage(strMessage) {
var objMessages = new Messages;
objMessages.addSysMessage(strMessage)
}
/**
* Formats all messages as HTML for user friendly representation.
*/
function formatAll() {
var objMessages = new Messages;
var strMessages = objMessages.formatAll();
return strMessages;
}
</script>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here