From e88959649fcfe7b52638bc54c8d0b426fb1d5c8d Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Mon, 12 Feb 2018 08:14:26 +0800 Subject: [PATCH] Update libevent. Now support Computronics:chat_box --- libevent.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libevent.lua b/libevent.lua index e03ef95..f6ae472 100644 --- a/libevent.lua +++ b/libevent.lua @@ -158,6 +158,13 @@ local function doInternalEventInit() t["signalValue"]=raw_event[4] end + tb["chat_message"]=function(raw_event,t) + t["event"]=raw_event[1] + t["address"]=raw_event[2] + t["username"]=raw_event[3] + t["message"]=raw_event[4] + end + --- OpenSecurity tb["magData"]=function(raw_event,t)