Zerotorescue@13: do Zerotorescue@13: Zerotorescue@13: local function GetValue(link) Zerotorescue@13: local history = AuctionLite:GetHistoricalPriceById(itemID); Zerotorescue@13: Zerotorescue@13: return (history and hist.items > 0 and math.floor(hist.price)) or -1; Zerotorescue@13: end Zerotorescue@13: Zerotorescue@13: local function IsEnabled() Zerotorescue@13: return (AuctionLite and AuctionLite.GetHistoricalPriceById); Zerotorescue@13: end Zerotorescue@13: Zerotorescue@65: local function OnSelect() Zerotorescue@65: local addonName = "|r|cfffed000AuctionLite|r|cffff6600"; Zerotorescue@65: Zerotorescue@65: print("|cffff6600" .. addonName .. " appears to not be working properly at this time. Please try another addon. This will be corrected in the future, sorry for the inconvenience.|r"); Zerotorescue@65: end Zerotorescue@65: Zerotorescue@65: IMRegisterPricingAddon("AuctionLite", GetValue, IsEnabled, OnSelect); Zerotorescue@13: Zerotorescue@13: end