for i ,v in ipairs (speclist) do
for k , s in ipairs (deathlist) do
local v = v:gsub("([%*%+%?%.%(%)%[%]%{%}%\%/%|%^%$%-])","%%%1")
local s = s:gsub("([%*%+%?%.%(%)%[%]%{%}%\%/%|%^%$%-])","%%%1")
if string.find(getUncolored(v),getUncolored(s),3,false) then
r ,g ,b = 255,153,0
outputDebugString("spectator: ".. getUncolored(v).." "..getUncolored(s))
else
r ,g ,b = 255,255,255
outputDebugString("no spectator: ".. getUncolored(v).." "..getUncolored(s))
end
end
end
because there's [ in his name ( not only if there's [ even if there's [,],(,) etc )