This prevents you from bidding 35,000,000 when you mean to bid 3,500,000. This is accomplished by entering the following: safe bid 123 3.5m which will then send 'bid 123 3500000' aucutils update -- This will update the plugin if there are new versions available. aucutils buyout -- Turns on/off clickable buyouts. Any questions, send a tell or personal note to Arcidayne! ]]> EnableTrigger("BuyoutLink", false) EnableTrigger("CurrentBid", false) for i,v in pairs(TriggerStyleRuns) do if v.text:gsub(" ", "") == "%1" then local st, sl, spl = string.find(v.text, "[^%s]"), string.len(v.text), string.len("%1") local ls, ts = string.rep(" ", st-1), "" if (spl+string.len(ls)) < sl then ts = string.rep(" ", sl-(spl+ls)) end ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ls) 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) ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ts) else ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), v.text) end end Note ("") marketbidn = "%1" EnableTrigger("BuyoutLink", true) EnableTrigger("CurrentBid", true) local bida = "bid" if "%1" == "Market" then bida = "lbid" elseif "%1" == "Remort Auction" then bida = "rbid" end marketbidn = "%2" for i,v in pairs(TriggerStyleRuns) do if v.text:gsub(" ", "") == "%2" then Hyperlink("!!381ff501f4f32c86cc30ad4c:" .. bida .. "_capture(%2)", "%2", bida .. "%2", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) --Hyperlink(bida .. " %2", v.text, "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) else ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), v.text) end end Note ("") marketbidn = "%1" 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) else ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), v.text) end end Note ("") local aucd, auch, aucm, aucs = 0, 0, tonumber("%4"), tonumber("%5") if "%2" ~= "" then aucd = tonumber("%2") end if "%3" ~= "" then auch = tonumber("%3") end date_end = get_date(aucd, auch, aucm, aucs) --ColourNote("white", "", "%1 ", "cyan", "", date_end, "white", "", string.rep(" ", string.len("%6")-string.len(date_end)-1) .. "|") bop = string.gsub("%1", ",", "") local hlink = "lbid " .. marketbidn .. " " .. bop --[[for i,v in pairs(TriggerStyleRuns) do if v.text:gsub(" ", "") == "%1" and BUYOUT_OPTION == 1 then Hyperlink(hlink, "%1", "", RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), 0) ColourTell("", "", string.rep(" ", v.text:len() - string.len("%1"))) else ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), v.text) end end Note ("")]]-- local amount = tonumber("%2") if "%3" == "k" or "%3" == "K" then amount = amount * 1000 end if "%3" == "m" or "%3" == "M" then amount = amount * 1000000 end if "%3" == "b" or "%3" == "B" then amount = amount * 1000000000 end Send("%1 " .. amount .. "%4") if "%1" == "confirm" then if "%2" == "on" then BUYOUT_CONFIRM = 1 else BUYOUT_CONFIRM = 0 end ColourNote("white", "blue", "Buyout confirmed now turned %2!") else if "%2" == "on" then BUYOUT_OPTION = 1 else BUYOUT_OPTION = 0 end ColourNote("white", "blue", "Turning %2 clickable buyouts!") end SetVariable("buyoutoption", BUYOUT_OPTION) SetVariable("buyoutconfirm", BUYOUT_CONFIRM)