Results 1 to 1 of 1

Thread: moveitems() action help please

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

    moveitems() action help please

    Hello. Help me please with action. I want to moveitems from bp in dp to char main bp until 20cap

    now i using this:

    first action:
    reachgrounditem("depot")
    wait(2000,4000)
    openitem("depot")
    wait(2000,3000)
    openitem(3502, "locker")
    wait(2000,3000)
    openitem(fbp, "depot chest")
    wait(2000,3000)
    wait(600,900)
    moveitems(list, fbp, mbp, 100)
    wait(300,400)
    moveitems(list, fbp, mbp, 50)
    wait(300,400)
    moveitems(list, fbp, mbp, 20)
    wait(300,400)
    moveitems(list, fbp, mbp, 5)
    wait(600, 900)
    moveitems(list, fbp, mbp, 1)
    wait(600,900)

    second action:
    if cap > mincap
    then gotolabel('w009') - first action for example
    end

    as u see character move 100 items first then 50 then 20 then 5 then 1. If the cap is still higher than mincap he comeback to first action. If there is no cap for 100 he take 50 if no cap for 50 he take 20 etc etc. What do you think, is there any another(easier and faster) way to do that?

    Thanks in advance

    edit: forget about open next bp in dp if there is no items. Someone know how to do that ?
    Last edited by gumaa; 02-21-2013 at 03:52 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
  •