How work function C_AuctionHouse.PostIte
Hey.
This code work in chat: /run C_AuctionHouse.PostItem(ItemLocation:CreateFromBagAndSlot(0, 1), 1, 1, nil, 190080000) but dont work in my addon: local function OnEvent(self, event, ...) if event == "ITEM_SEARCH_RESULTS_UPDATED" C_AuctionHouse.PostItem(ItemLocation:CreateFromBagAndSlot(0, 1), 1, 1, nil, 190080000) end end local f = CreateFrame("Frame") f:RegisterEvent("ITEM_SEARCH_RESULTS_UPDATED") f:SetScript("OnEvent", OnEvent) |
it requires a hardware event, did you test putting it on a button?
|
Quote:
|
All times are GMT -6. The time now is 09:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI