8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 36: | Line 36: | ||
local a = string.gsub(b, regex, function(_,color,text) | local a = string.gsub(b, regex, function(_,color,text) | ||
if text ~= nil or text ~= "" then | if text ~= nil or text ~= "" then | ||
local hexcolor = luatable | local hexcolor = luatable.parse(color) | ||
if hexcolor == nil then | if hexcolor == nil then | ||
error ("There was no specified color for color code: " .. color) | error ("There was no specified color for color code: " .. color) |