if (id == "3e7dedbe37e44942dd46d264") and (text == "comm.channel") then
if (id == "3e7dedbe37e44942dd46d264") and (text == "comm.channel") then
local msg = strip_colours(gmcp("comm.channel.msg")):upper()
if gmcp("comm.channel.player")) ~= gmcp("char.base.name") then
local doAction = ""
local msg = strip_colours(gmcp("comm.channel.msg")):upper()
for _,v in ipairs(filterTable) do
local doAction = ""
assert(type(v.action) == "function" or type(v.action) == "string")
for _,v in ipairs(filterTable) do
doAction = loadstring(v.action)
assert(type(v.action) == "function" or type(v.action) == "string")
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 = loadstring(v.action)
doAction()
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