[Request]DeleteMacros. menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    poxnora2's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request]DeleteMacros.

    So i found some nice macros, one that sells everything in my bags execpt the last one and a macro that deletes all the White, Gray and Green items in my bag.
    So i want to merge them so that the new macro will delete everything exept for the last bag. if you can help me with this i'll be very grateful.



    The macro that sells everything in my bags execpt the last one.

    /script for x=0,3 do for y=1,GetContainerNumSlots(x) do UseContainerItem(x,y);end;end;

    The other macros.
    Gray items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff9d9d9d") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

    White items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ffffffff") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

    Green items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff1eff00") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end


    thanks in advance. :)

    [Request]DeleteMacros.
  2. #2
    VoTuUS's Avatar Visions of the Unknown CoreCoins Purchaser
    Reputation
    1580
    Join Date
    Oct 2010
    Posts
    620
    Thanks G/R
    44/49
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Edit: Got one that works. (Deletes all but the last bag)

    /run for bag = 0,3,1 do for slot = 1, 32, 1 do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end
    Last edited by VoTuUS; 07-18-2014 at 03:34 AM.

  3. #3
    Khorium's Avatar Site Donator
    Reputation
    164
    Join Date
    Nov 2008
    Posts
    125
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by poxnora2 View Post
    So i found some nice macros, one that sells everything in my bags execpt the last one and a macro that deletes all the White, Gray and Green items in my bag.
    So i want to merge them so that the new macro will delete everything exept for the last bag. if you can help me with this i'll be very grateful.



    The macro that sells everything in my bags execpt the last one.

    /script for x=0,3 do for y=1,GetContainerNumSlots(x) do UseContainerItem(x,y);end;end;

    The other macros.
    Gray items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff9d9d9d") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

    White items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ffffffff") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

    Green items:

    /run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff1eff00") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end


    thanks in advance.

    I didn't test this, but I think it will work for you:


    Code:
    /run for b=0,3 do for s=1,28 do local l = GetContainerItemLink(b,s)if l and (string.find(l,"ff9d9d9d")or string.find(l,"ffffffff")or string.find(l,"ff1eff00"))then PickupContainerItem(b,s) DeleteCursorItem()end end end
    Last edited by Khorium; 07-18-2014 at 08:32 AM. Reason: too many end statements

  4. #4
    poxnora2's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks m8, this works like a charm

  5. #5
    VoTuUS's Avatar Visions of the Unknown CoreCoins Purchaser
    Reputation
    1580
    Join Date
    Oct 2010
    Posts
    620
    Thanks G/R
    44/49
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by poxnora2 View Post
    Thanks m8, this works like a charm
    Which one did you get working?

  6. #6
    poxnora2's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by VoTuUS View Post
    Which one did you get working?
    Your's sorry for not stating it

  7. #7
    Khorium's Avatar Site Donator
    Reputation
    164
    Join Date
    Nov 2008
    Posts
    125
    Thanks G/R
    2/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Made it home! Here are the macros I have.

    These macros will tell you what items you equipped, mailed, or destroyed.

    To sell everything to a vendor in the first 3 bags (with the vendor window open):
    Code:
    /run for b=0,3 do for s=1,28 do local i=GetContainerItemLink(bag,slot)if i then ChatFrame1:AddMessage("Sold "..i)UseContainerItem(b,s)end end end
    IMPORTANT: Using this macro without a vendor or mailbox send window open will attempt to equip every item in the first 3 bags. This is also good if you have a new character with only BOA gear in the bags.


    To destroy everything:
    Code:
    /run for b=0,3 do for s=1,28 do local i=GetContainerItemLink(bag,slot)if i then ChatFrame1:AddMessage("\124cffff0000Threw away "..i)PickupContainerItem(b,s)DeleteCursorItem()end end end

  8. #8
    alkali's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.

Similar Threads

  1. a quick question/request
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 12-27-2006, 03:54 AM
  2. Joana Mancow Leveling Video Request Thread
    By Matt in forum World of Warcraft General
    Replies: 31
    Last Post: 11-19-2006, 02:54 PM
  3. A few requests :)
    By rabownsyou in forum World of Warcraft General
    Replies: 0
    Last Post: 06-16-2006, 11:57 PM
  4. [Request] Fishing Bot Guide
    By Cush in forum World of Warcraft General
    Replies: 7
    Last Post: 06-01-2006, 08:26 AM
  5. [Program Request] 1.9.0 hack
    By lopolop in forum World of Warcraft General
    Replies: 1
    Last Post: 05-17-2006, 09:41 PM
All times are GMT -5. The time now is 09:45 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search