-- chat_system - Core logic, properties, and data for the Chat system -- (component of Chat System) -- Template attachment: chat_system -- Created by: Patrick Ferland -- Created on: 05/27/2008 -- Revision History -- 05/27/2008 P.Ferland - New script -- 05/30/2008 P.Ferland - Initial release -- 06/02/2008 P.Ferland - Cleanup and documentation -- 06/03/2008 P.Ferland - Corrected attach/detach logic to allow chat system creation (singleton) and deletion -- 06/10/2008 P.Ferland - Corrected player attach/detach bugs, added /fontsize, and reformatted help -- 06/10/2008 P.Ferland - Added max buffer size -- 06/12/2008 P.Ferland - Added enter/exit messages for spatial chat -- 06/13/2008 P.Ferland - Removed spurious debugs -- 06/17/2008 P.Ferland - Added spatial exit announce for unsubscribe_all, fixed bug that wasn't unsubscribing users -- 06/23/2008 P.Ferland - Tested trigger reference count model for pre/message/finalize loop -- 06/25/2008 P.Ferland - Removed trigger reference count -- Constants MPWINSTYLES_CORE = { DEFAULT = '11746:2', LIGHTTOOLS_SIMPLE = '11746:2', lighttools_simple = '11746:2', } -- Script Properties Define Properties() ExportConstant('MPWINSTYLES_CORE') end -- Commands -- no commands -- Triggers -- no triggers -- Local functions -- no functions