if (id == "3e7dedbe37e44942dd46d264") and (text == "comm.channel") then
local msg = strip_colours(gmcp("comm.channel.msg")):upper()
local doAction = ""
for _,v in ipairs(filterTable) do
assert(type(v.action) == "function" or type(v.action) == "string")
doAction = loadstring(v.action)
if v.channel == gmcp("comm.channel.chan") and v.filter:upper() ~= gmcp("char.base.name"):upper() and filterCheck(msg, v.filter:upper(), v.include:upper()) then
doAction()
break
if gmcp("comm.channel.player")) ~= gmcp("char.base.name") then
local msg = strip_colours(gmcp("comm.channel.msg")):upper()
local doAction = ""
for _,v in ipairs(filterTable) do
assert(type(v.action) == "function" or type(v.action) == "string")
doAction = loadstring(v.action)
if v.channel == gmcp("comm.channel.chan") and v.filter:upper() ~= gmcp("char.base.name"):upper() and filterCheck(msg, v.filter:upper(), v.include:upper()) then