Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-21-10, 05:41 PM   #1
cerement
A Murloc Raider
 
cerement's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 9
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
  Reply With Quote
 

WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » Sequential Cancel All Auctions Macro


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off