Need help with script menu

User Tag List

Results 1 to 1 of 1
  1. #1
    borntosowdeath's Avatar Member
    Reputation
    1
    Join Date
    Dec 2015
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with script

    /run for s=1,28 do n=GetContainerItemLink(BANK_CONTAINER,s)if n and strfind(n,"Glyph")then print("Withdrawing "..n)UseContainerItem(BANK_CONTAINER,s)end end

    At the moment script withdraws from bank every item/stack with "Glyph" in name.

    My goal is to withdraw stack of 6 form Bank to Bag.
    API SplitContainerItem - WoWWiki - Wikia should be helpful, but I don't get how to use it, and it may be problematic (puts item in cursor position).

    /run for b=0,4 do for s=1,GetContainerNumSlots(b) do local l,a,p=GetContainerItemLink(b,s),SplitContainerItem(b,s,30),PutItemInBag(19+b)if l and strfind(l,"Volatile Life")and 90<=select(2,GetContainerItemInfo(b,s))then a p a p a p end end end

    This one splits stacks >=90 (contained in Bag) into stack of 30 and puts it in the same bag.

    Guess I'd have to merge them in some way but I don't really know where to start.

    Anyone?
    Last edited by borntosowdeath; 12-16-2015 at 01:53 PM.

    Need help with script

Similar Threads

  1. New to LUA need help with script
    By nickelo in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 06-30-2008, 01:34 PM
  2. New Private Server - Need Help with Scripting Please
    By Xerxe in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 04-14-2008, 09:02 AM
  3. [Help] New to LUA, Need help with script.
    By nickelo in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-14-2008, 11:23 PM
  4. [Help] I need help with Script's
    By PsycoDisciples in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 01-24-2008, 05:20 PM
  5. i need help with script, im a noob
    By orangegold in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 10-27-2007, 05:47 PM
All times are GMT -5. The time now is 07:09 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