Results 1 to 3 of 3

Thread: modify check deposit

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    modify check deposit

    It is possible to modify this code to open the backpack loot if you have more than one, and find item back to label?

    PHP Code:
    closewindows() 
    while(
    windowcount() < 2) do 
        
    closewindows() 
        
    wait(5001000
        
    openitem(MainBP'back')  
        
    wait(5001500
        
    resizewindows() 
        
    wait(5001000
        
    openitem(LootBPMainBPtrue)  
        
    wait(5001500
        
    resizewindows()     
        
    wait(5001000
    end 

    local depositItems 
    = {'Small Emerald''Dowser''Fir Cone''Elven Hoof''Venison''Small Topaz''Elvish Bow'
    local LootBP "Grey Backpack" 
    local depotLabel "depotDEPOSIT" 
     
    for 1#depositItems do 
        
    if itemcount(depositItems[i], LootBP) > 1 then 
            gotolabel
    (depotLabel
        
    end 
    end 

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    have an action after it that says...

    if itemcount(loopBp, loopBp) > 1 then
    openitem(lootBp, lootBp, false)
    wait(2000)
    gotolabel(wpt.id - 2)
    end

    that opens a loot bp it finds inside your loot bp, then goes back 2 waypoints, which should be your deposit action again
    Last edited by pink_panther; 03-26-2014 at 12:38 AM.

  3. #3
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    Up.

Posting Permissions

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