Editing Module:ContestantColor
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 152: | Line 152: | ||
} | } | ||
local res={ | local res={ | ||
" | "#000", | ||
" | "#fff;text-shadow:-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000,1px 1px 1px #000", | ||
" | "#000;text-shadow:-1px -1px 1px #fff,1px -1px 1px #fff,-1px 1px 1px #fff,1px 1px 1px #fff" | ||
} | } | ||
return res[modif[p.nameMod(f.args[1]) or ""]] or " | --return (modif[p.nameMod(f.args[1]~=nil and f.args[1] or "")]~=nil and "black" or "white") | ||
return res[modif[p.nameMod(f.args[1]) or ""]] or "#fff" | |||
end | end | ||