New features?

Contrast_Picker
Arcidayne 9 years ago
parent 5f1f3e301e
commit 03832443e5

@ -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="2.44" version="2.45"
> >
<description trim="y"> <description trim="y">
<![CDATA[ <![CDATA[
@ -71,8 +71,10 @@ if v.text:gsub(" ", "") == "%1" 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)
--Hyperlink("!!381ff501f4f32c86cc30ad4c:lbid_capture(%1)", "%1", "lbid %1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) Hyperlink("!!381ff501f4f32c86cc30ad4c:lbid_capture(%1)", "%1", "lbid %1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
Hyperlink("lbid %1", "%1", "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
--Hyperlink("lbid %1", "%1", "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ts) ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ts)
else else
ColourTell (RGBColourToName (v.textcolour), ColourTell (RGBColourToName (v.textcolour),
@ -111,8 +113,10 @@ if "%1" == "Market" then bida = "lbid" elseif "%1" == "Remort Auction" then bida
for i,v in pairs(TriggerStyleRuns) do for i,v in pairs(TriggerStyleRuns) do
if v.text:gsub(" ", "") == "%2" then if v.text:gsub(" ", "") == "%2" then
--Hyperlink("!!381ff501f4f32c86cc30ad4c:" .. bida .. "_capture(%1)", "%1", bida .. "%1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) Hyperlink("!!381ff501f4f32c86cc30ad4c:" .. bida .. "_capture(%1)", "%1", bida .. "%1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
Hyperlink(bida .. " %2", v.text, "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
--Hyperlink(bida .. " %2", v.text, "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
else else
ColourTell (RGBColourToName (v.textcolour), ColourTell (RGBColourToName (v.textcolour),
RGBColourToName (v.backcolour), RGBColourToName (v.backcolour),
@ -132,8 +136,9 @@ Note ("")</send>
> >
<send>for i,v in pairs(TriggerStyleRuns) do <send>for i,v in pairs(TriggerStyleRuns) do
if v.text == "%1" then if v.text == "%1" then
-- Hyperlink("!!381ff501f4f32c86cc30ad4c:bid_capture(%1)", "%1", "bid %1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) Hyperlink("!!381ff501f4f32c86cc30ad4c:bid_capture(%1)", "%1", "bid %1", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
Hyperlink("bid %1", "%1", "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
--Hyperlink("bid %1", "%1", "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0)
else else
ColourTell (RGBColourToName (v.textcolour), ColourTell (RGBColourToName (v.textcolour),
RGBColourToName (v.backcolour), RGBColourToName (v.backcolour),
@ -178,7 +183,7 @@ ColourNote("white", "", "%1 ", "cyan", "", date_end, "white", "", string.rep(" "
omit_from_output="y" omit_from_output="y"
regexp="y" regexp="y"
send_to="14" send_to="14"
sequence="100" sequence="5"
> >
<send> <send>
local bop = string.gsub("%1", ",", "") local bop = string.gsub("%1", ",", "")
@ -295,6 +300,30 @@ Send("%1 " .. amount .. "%4")</send>
hotspot_id = "" hotspot_id = ""
page_built = false page_built = false
function lbid_capture(wildcards)
if state ~= 3 then
Send("echo {lbid}")
Send("lbid " .. wildcards)
Send("echo {/lbid}")
end
end
function rbid_capture(wildcards)
if state ~= 3 then
Send("echo {lbid}")
Send("rbid " .. wildcards)
Send("echo {/lbid}")
end
end
function bid_capture(wildcards)
if state ~= 3 then
Send("echo {lbid}")
Send("bid " .. wildcards)
Send("echo {/lbid}")
end
end
function lbid_redirect (name, line, wildcards, styles) function lbid_redirect (name, line, wildcards, styles)
EnableTrigger ("multi_line_lbid", true) -- capture subsequent lines EnableTrigger ("multi_line_lbid", true) -- capture subsequent lines
EnableTrigger ("lbid_end", true) -- capture ending lines EnableTrigger ("lbid_end", true) -- capture ending lines

Loading…
Cancel
Save