Results 1 to 2 of 2

Thread: I help with two actions

  1. #1
    iBot User Salahadi235's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    I help with two actions

    Hello sorry for title i woona ask for help.
    what's wrong with it:
    PHP Code:
    setsettings("Settings\\Cavebot\\Settings\\OpenNextBp""no")
    closewindows()
    reachgrounditem("depot")
    wait(1000)
    openitem("depot")
    wait(1000)
    openitem(3502"locker")
    wait(1500)
    openitem(boxdpBP"depot chest")
    wait(700900)
    openitem(mainBP"back")
    wait(700900)
    openitem(boxBPmainBPtrue)
    wait(700900)
    moveitems(itemtypeboxdpBPboxBPitemtomovewait(1000)
    else
    openitem(boxdpBPboxdpBP)
    end 
    i woona take parcel from dp to use it when i back from hellgate, becouse the npc who selling them moving in big area and sometimes i can't catch him.

    other one i woona ask:
    PHP Code:
    if no player on screen
    dropitems
    (ground(x,y,z),item)  
    else if 
    player on screen 
    wait
    (untill player gone)
    dropitems(ground(x,y,z),item

  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
    God knows why you dont just buy some parcels before going to your hunt, there are ways around the npc not being close enough... but

    Put this at the end, after you delete the last 4 lines from your action.

    PHP Code:
    local parcelToWithdraw 3

    while itemcount("parcel"boxBP) < parcelToWithdraw do
        if 
    itemcount("parcel"boxdpBPthen openitem("boxdpBp"boxdpBPfalseend
        moveitems
    ("parcel"boxdpBPboxBp1)
    end 


    PHP Code:
    local dropItem "halberd"

    if paround(7) == 0 then
    moveitems
    (dropItem"all"ground(posx,posy,posz), 100)
    end 
    moveitems("item to drop", "from", "to", "amount")

Posting Permissions

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