From 03832443e50cf914626adee39aa7ee5263e331ec Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Mon, 11 Apr 2016 14:00:18 -0400 Subject: [PATCH] New features? --- Auction_Utilities/Auction_Utilities.xml | 45 ++++++++++++++++++++----- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/Auction_Utilities/Auction_Utilities.xml b/Auction_Utilities/Auction_Utilities.xml index fe41a06..7e6a872 100644 --- a/Auction_Utilities/Auction_Utilities.xml +++ b/Auction_Utilities/Auction_Utilities.xml @@ -15,7 +15,7 @@ save_state="y" date_written="2016-03-29 14:40:46" requires="4.80" - version="2.44" + version="2.45" > > for i,v in pairs(TriggerStyleRuns) do if v.text == "%1" then - -- 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("!!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) else ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), @@ -178,7 +183,7 @@ ColourNote("white", "", "%1 ", "cyan", "", date_end, "white", "", string.rep(" " omit_from_output="y" regexp="y" send_to="14" - sequence="100" + sequence="5" > local bop = string.gsub("%1", ",", "") @@ -295,6 +300,30 @@ Send("%1 " .. amount .. "%4") hotspot_id = "" 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) EnableTrigger ("multi_line_lbid", true) -- capture subsequent lines EnableTrigger ("lbid_end", true) -- capture ending lines