Results 1 to 1 of 1

Thread: problem with withdrawing rings from depot

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    5

    problem with withdrawing rings from depot

    Got small problem with taking dwarven rings from dp, script works fine but i would like to have few bps 1 inside another with rings,
    when there are no rings left it in 1 backpack should open next to take rings,

    This one works fine as long there are rings in first bp

    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(1500,2500)
    openitem(RingBP, "depot chest")

    wait(1500, 2000)

    while itemcount("dwarven ring", MainBPname) < 3 and itemcount("dwarven ring", RingBP) > 1 do
    moveitems("dwarven ring", RingBP, MainBPname, 3)
    wait(1000,1200)
    end


    edit it a bit to

    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(1500,2500)
    openitem(RingBP, "depot chest")

    wait(1500, 2000)

    if itemcount("dwarven ring", MainBPname) < 3 and itemcount("dwarven ring", RingBP) > 1 then
    moveitems("dwarven ring", RingBP, MainBPname, 3)
    wait(1000,1200)
    elseif itemcount("dwarven ring", MainBPname) < 3 and itemcount("dwarven ring", RingBP) < 1 then
    openitem(RingBP, RingBP)
    wait(1500,2500)
    moveitems("dwarven ring", RingBP, MainBPname, 3)
    end

    and its opening also next bp but taking only 1ring not 3 as it should
    Last edited by Smerfu; 04-16-2013 at 10:50 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •