[Addon Request] Easy Mass Cancel Addon menu

User Tag List

Results 1 to 3 of 3
  1. #1
    DrWho1988's Avatar Elite User
    Reputation
    387
    Join Date
    Oct 2007
    Posts
    554
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Addon Request] Easy Mass Cancel Addon

    I was wondering if it would be possible to take this macro
    Code:
    /run local i=1;local n=1;while n ~= nil do n=GetAuctionItemInfo("owner",i);if n~=nil and strfind(n,"^Iceblade") then CancelAuction(i) end i=i+1 end
    and incorporate it into an addon where all you have to do is type in the name, or part of a name, into a search box and then hit a button to cancel all. This would be much easier and convenient than going into the macros menu and manually editing it everytime.

    I'd do this myself but I'm LUA retarded, so any kind of help would be greatly appreciated

    "I am just absolutely convinced that the best formula for giving us peace and preserving the American way of life is freedom, limited government, and minding our own business overseas." - Ron Paul

    [Addon Request] Easy Mass Cancel Addon
  2. #2
    nightcracker's Avatar Contributor
    Reputation
    102
    Join Date
    Jan 2008
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, using a slashcommand.

    Just put this snippet in any .lua file of an addon you use:

    Code:
    local function cancel(name)
    	local i = 1;
    	local n = 1;
    	while n do
    		n = GetAuctionItemInfo("owner",i)
    		if n and strfind(n,"^"..name) then CancelAuction(i) end
    		i = i + 1
    	end
    end
    
    SLASH_CANCELAUCTION1 = "/ca"
    SLASH_CANCELAUCTION2 = "/cancelauction"
    
    function SlashCmdList.CANCELAUCTION(name)
    	name = tostring(name)
    	if name then
    		cancel(name)
    	end
    end
    Usage /ca <name> or /cancelauction <name>.

  3. #3
    DrWho1988's Avatar Elite User
    Reputation
    387
    Join Date
    Oct 2007
    Posts
    554
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nightcracker View Post
    Ok, using a slashcommand.

    Just put this snippet in any .lua file of an addon you use:

    Code:
    local function cancel(name)
        local i = 1;
        local n = 1;
        while n do
            n = GetAuctionItemInfo("owner",i)
            if n and strfind(n,"^"..name) then CancelAuction(i) end
            i = i + 1
        end
    end
    
    SLASH_CANCELAUCTION1 = "/ca"
    SLASH_CANCELAUCTION2 = "/cancelauction"
    
    function SlashCmdList.CANCELAUCTION(name)
        name = tostring(name)
        if name then
            cancel(name)
        end
    end
    Usage /ca <name> or /cancelauction <name>.
    Wow thanks so much ! I have this added to Auctioneer Advanced and it works great. I'm gonna work on making this into a stand alone addon (that is unless you object to it), with full credit going to you. Enjoy your +Repx3

    Here's the modified CoreAPI.lua. The code is at the bottom. Place it into your "Interface\Addons\Auc-Advanced" folder
    Last edited by DrWho1988; 08-09-2010 at 06:40 PM.

    "I am just absolutely convinced that the best formula for giving us peace and preserving the American way of life is freedom, limited government, and minding our own business overseas." - Ron Paul

Similar Threads

  1. [Release] Easy Mass Cancel (EMC)
    By DrWho1988 in forum WoW UI, Macros and Talent Specs
    Replies: 7
    Last Post: 11-10-2010, 07:08 AM
  2. [REQUEST] Fake Mass Mailer?
    By Kεяusнιι in forum WoW Scams Help
    Replies: 2
    Last Post: 12-04-2008, 11:37 PM
  3. [Request] (EASY) Hole in Nagrand
    By gladiator101 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 05-28-2008, 09:13 AM
  4. [Request] Easy +rep for you
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-14-2008, 10:30 PM
All times are GMT -5. The time now is 12:44 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search