I've tested a modification making the chat system work in an IRCish fashion. As simple as the chat system gets right now it would send:
Code: Select all
:<DISPLAY_NAME>!<USERNAME>@<COMPUTERNAME> PRIVMSG :<MESSAGE>
Code: Select all
:<USERNAME>@<COMPUTERNAME> PRIVMSG :<MESSAGE>
This will show up in the chat window as:
Code: Select all
<DISPLAY_NAME>: MESSAGE
Code: Select all
<USERNAME@COMPUTERNAME>: MESSAGE
Right now we could through in some additional commands such as NOTICE (Could keep the chat window hidden while popping a MessageBox showing the message), or even add commands such as "SYSINFO" (To gather system information. This last bit could be retrieved through a JSON array or keep the IRCish fashion such as in WHOIS commands...
On the long run, the repeater could sneak into chat conversations allowing some users to send a global message to all the viewers, all the servers, or all the viewers and the servers. For example:
Code: Select all
:Administrator!admin@Repeaterhost PRIVMSG ALL_VIEWERS :System maintenance. The repeater will be rebooting.