Chat/MUD 0.4

Version 0.2 | Version 0.3 | Version 0.4 | Version 0.5

= Version 0.4 = Version 4 should be functionally similar to 0.3, and the documentation for the client side should be similar. The two version are, however, incompatible as we are implementing the new server structure.

Features

 * User based chat (using forum names)
 * Client side commands (for testing and future use)
 * Detailed client side logging system

Known bugs

 * Redundant "Message received at" messages
 * "There are ? users online" (wiki)

TODO List

 * Fix the new message notice in IE

See Chat/MUD 0.5 for more planned changes

System features
These are features I will care about
 * Event system (loop)
 * Internaly implement (hide) "setInterval"
 * This will clean up the look and feel of the code considerably
 * Will allow multiple scripts to be called and custom intervals to be assigned

Client side
The client side uses a "plugable" system to quickly add new commands

Server side
Server side commands are still under development

Client Code Reference (JavaScript)
chatClient = { }
 * Properties
 * options = {hash table}
 * messages = int
 * debug_log = bool
 * Methods
 * setup
 * next
 * add
 * say
 * log
 * link = chatLink
 * user = chatUser
 * display = chatDisplay
 * commandQue = chatQue
 * users = chatUserList
 * commands = chatCommands
 * events = chatEvents

chatEvents = { }
 * Properties
 * interval
 * Methods
 * setInterval(time)
 * upkeep
 * Handlers = chatLoopEventHandlerList

chatLoopEventHandlerList = { }
 * Methods
 * add(time, function, [name])
 * Script[] = chatLoopEventListener

chatLoopEventListener = { }
 * Properties
 * offset = int > 0
 * lastRun = date
 * Methods
 * run