an addon for me :) menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Thelovefool's Avatar Banned
    Reputation
    198
    Join Date
    Mar 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    an addon for me :)

    Hello together,
    can someone make an addon for me which can withdraw a predefinied anmount of an item from a guild vault?
    (the reward will be 14$ over paypal)


    what i found out so far:

    Code:
    WITHDRAW ALL FROM GUILD BANK (SPECIFIED ITEM)
    
    /run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"YOURITEM")then SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")end end end
    Code:
    WITHDRAW ALL FROM GUILD BANK (GREENS)
    
    /run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"cff1eff00")then SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")end end end
    Code:
    DEPOSIT/TRADE/MAIL ALL ITEMS (SPECIFIED)
    
    /run for b=0,4 do for s=0,22 do l=GetContainerItemLink(b,s) if l and l:find("YOURITEM")then UseContainerItem(b,s) end end end
    Code:
    DEPOSIT/TRADE/MAIL ALL ITEMS (GREENS)
    
    /run for bag=0,4 do for slot=1,GetContainerNumSlots(bag) do local texture,itemCount,locked,quality=GetContainerItemInfo(bag,slot) if quality==2 then UseContainerItem(bag,slot) end end end
    Code:
    WITHDRAW ALL ITEMS FROM GB BY TAB
    
    /run local t=1 for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"ItemName")then SetCurrentGuildBankTab(t)AutoStoreGuildBankItem(t,s)end end

    Hope someone can help me

    thx in advantage
    Fool
    Last edited by Thelovefool; 11-15-2009 at 01:10 PM.

    an addon for me :)
  2. #2
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thelovefool View Post
    Hello together,
    can someone make an addon for me which can withdraw a predefinied anmount of an item from a guild vault?
    (the reward will be 14$ over paypal)


    what i found out so far:

    Code:
    WITHDRAW ALL FROM GUILD BANK (SPECIFIED ITEM)
    
    /run for t=1,GetNumGuildBankTabs()do for s=1,98 do local l=GetGuildBankItemLink(t,s)if l and strfind(l,"YOURITEM")then SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")end end end
    Untested, but assuming your snippet actually works you'd want something like..

    Code:
    local N=20 -- Number of items
    local I = "Your Item"
    
    -- Don't edit past here.
    
    local count = 0
    
    for t=1,GetNumGuildBankTabs() do
    	for s=1,98 do
    		if count >= n then
    			break
    		end
    
    		local l=GetGuildBankItemLink(t,s)
    
    		if l and strfind(l,I) then
    			SetCurrentGuildBankTab(t)_G[format("GuildBankColumn%dButton%d", ceil(s/14),s%14)]:Click("RightButton")
    			count = count + 1
    		end
    	end
    end
    Last edited by The-Eradicator; 11-15-2009 at 03:11 PM.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  3. #3
    Thelovefool's Avatar Banned
    Reputation
    198
    Join Date
    Mar 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok if you can tell me how to make a simple addon out of this i will buy you a pirox key or something like this :]
    and btw +Rep for you
    Last edited by Thelovefool; 11-16-2009 at 09:34 AM.

Similar Threads

  1. 2 great PvP addons (for botting too)
    By ayadew in forum World of Warcraft General
    Replies: 8
    Last Post: 04-22-2007, 05:08 PM
  2. Need Addons For Gm
    By raptornl in forum World of Warcraft General
    Replies: 0
    Last Post: 04-21-2007, 02:49 PM
  3. XP/Hour addon for WoW 2.0+/BC
    By raunchy in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 02-26-2007, 03:39 PM
  4. So... you want your AddOns for 2.0.0?
    By gravisoft in forum World of Warcraft General
    Replies: 0
    Last Post: 12-08-2006, 06:25 PM
  5. UI/addon for a warrior
    By Dajoker in forum World of Warcraft General
    Replies: 2
    Last Post: 12-05-2006, 02:17 AM
All times are GMT -5. The time now is 07:38 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