-- chat_entity - Implements core callback data for any entity that interacts with chat_system -- (component of Chat System) -- Template attachment: player, NPCs, systems (guild/faction/etc) -- Created by: Patrick Ferland -- Created on: 05/27/2008 -- Revision History -- 05/27/2008 P.Ferland - New script -- 09/12/2008 P.Ferland - Fixed chat_utility bug (thanks to Tuebit for report) -- 10/08/2008 P.Ferland - OX friendliness pass -- Constants -- no constants -- Script Properties Define Properties() script_description = "Chat Entity" script_long_description = "Allows an object to listen to chat and send chat commands" chat_system_callback_data = { status = 0, status_text = 'OK', data = {} } chat_system_current_channel = 'UNKNOWN' IncludeScript('11302:12') -- chat_utility end -- Commands -- no commands -- Triggers -- Custom objects may want to implement the message-received Trigger: --[[ Trigger chat_system_message(message, channel) end --]] -- Local functions -- no functions