Sequential Cancel All Auctions Macro
Updated an unknown developer's old "Cancel All Auctions" macro (basically by just adding in a "break"). Obeys the requirements of one-hardware-action-per-cancel, doesn't cancel auctions with bids (or try to cancel already sold auctions), doesn't require any specific auction addon, *does NOT check for underbids*. Open up your auction tab and just keep punching the macro 'til they're all canceled. Enjoy.
Code:
/run local o="owner" p=GetNumAuctionItems(o) for i=1,p do local _,_,c,_,_,_,_,_,_,b,_,_=GetAuctionItemInfo(o,i) if((c>0)and(b==0))then CancelAuction(i) break end end |
Code:
/run local o="owner" for i=1,GetNumAuctionItems(o)do local _,_,c,_,_,_,_,_,_,b=GetAuctionItemInfo(o,i)if c>0 and b==0 then CancelAuction(i)break end end |
This is outdated. Here are two versions that work as of 5.0:
Basically same as above, just fixed: Code:
/run local o="owner" for i=1,GetNumAuctionItems(o)do local _,_,c,_,_,_,_,_,_,_,_,_,_,b=GetAuctionItemInfo(o,i)if c>0 and b==0 then CancelAuction(i)break end end Code:
/run local o="owner" p=GetNumAuctionItems(o) if(p>0)then local n=math.random(1,p) local _,_,c,_,_,_,_,_,_,_,_,_,_,b=GetAuctionItemInfo(o,n) if((c>0)and(b==0))then CancelAuction(n) end end |
All times are GMT -6. The time now is 08:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI