Zerotorescue@13: do Zerotorescue@13: Zerotorescue@13: local function GetValue(link) Zerotorescue@13: local imgSeen, _, _, _, _, lowBuy, _, _ = AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(link); Zerotorescue@13: --local imgseen, image, matchBid, matchBuy, lowBid, lowBuy, aveBuy, aSeen Zerotorescue@13: Zerotorescue@13: if imgSeen <= 0 then Zerotorescue@13: -- No auctions up at this time Zerotorescue@13: return -1; Zerotorescue@13: end Zerotorescue@13: Zerotorescue@23: return lowBuy or -5; Zerotorescue@13: end Zerotorescue@13: Zerotorescue@13: local function IsEnabled() Zerotorescue@13: return (AucAdvanced ~= nil and AucAdvanced.Modules.Util.SimpleAuction ~= nil and AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems ~= nil); Zerotorescue@13: end Zerotorescue@13: Zerotorescue@13: IMRegisterPricingAddon("Auctioneer", GetValue, IsEnabled); Zerotorescue@13: Zerotorescue@13: end