Buyout toggle addition

Contrast_Picker
Arcidayne 9 years ago
parent 6617609d45
commit 3992cb897e

@ -15,7 +15,7 @@
save_state="y" save_state="y"
date_written="2016-03-29 14:40:46" date_written="2016-03-29 14:40:46"
requires="4.80" requires="4.80"
version="1.3" version="1.4"
> >
<description trim="y"> <description trim="y">
<![CDATA[ <![CDATA[
@ -170,12 +170,12 @@ ColourNote("white", "", "%1 ", "cyan", "", date_end, "white", "", string.rep(" "
send_to="14" send_to="14"
sequence="100" sequence="100"
> >
<send>if BUYOUT_OPTION == 1 then <send>
local bop = string.gsub("%1", ",", "") local bop = string.gsub("%1", ",", "")
local hlink = "lbid " .. marketbidn .. " " .. bop local hlink = "lbid " .. marketbidn .. " " .. bop
for i,v in pairs(TriggerStyleRuns) do for i,v in pairs(TriggerStyleRuns) do
&#9;if v.text:gsub(" ", "") == "%1" then &#9;if v.text:gsub(" ", "") == "%1" and BUYOUT_OPTION == 1 then
&#9;&#9;Hyperlink(hlink, "%1", "", "yellow", "", 0) &#9;&#9;Hyperlink(hlink, "%1", "", "yellow", "", 0)
ColourTell("", "", string.rep(" ", v.text:len() - string.len("%1"))) ColourTell("", "", string.rep(" ", v.text:len() - string.len("%1")))
&#9;else &#9;else
@ -184,8 +184,7 @@ for i,v in pairs(TriggerStyleRuns) do
v.text) v.text)
&#9;end &#9;end
end end
Note ("") Note ("")</send>
end</send>
</trigger> </trigger>
</triggers> </triggers>

Loading…
Cancel
Save