Quick fixes and new features

Contrast_Picker
Arcidayne 9 years ago
parent eeb6d66c73
commit 21252eb8e5

@ -67,7 +67,7 @@ EnableTrigger("CurrentBid", false)</send>
if v.text:gsub(" ", "") == "%1" then if v.text:gsub(" ", "") == "%1" then
local st, sl, spl = string.find(v.text, "[^%s]"), string.len(v.text), string.len("%1") local st, sl, spl = string.find(v.text, "[^%s]"), string.len(v.text), string.len("%1")
local ls, ts = string.rep(" ", st-1), "" local ls, ts = string.rep(" ", st-1), ""
if (spl+ls) < sl then if (spl+ls) &lt; sl then
ts = string.rep(" ", sl-(spl+ls)) ts = string.rep(" ", sl-(spl+ls))
end end
ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ls) ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ls)

Loading…
Cancel
Save