Results 1 to 3 of 3

Thread: Gps picker

  1. #1
    iBot User
    Join Date
    Apr 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Gps picker

    I need a script which checks if gps are on the ground and collect them to bp if not monster on screen.
    I made this script but dunno how to check if gps are on the ground...
    Code:
    if  maround(4) == 0 and lootbodies == false then
        pausewalking(1500)
        pickupitems("jewelled backpack",3031)
    end

    Please help!

  2. #2
    Normal User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    221
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    58
    Rep Power
    5

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thx man
    final script:
    Code:
    local itemid1 = 3031  -- itemid you want too pick up
    local bp1 = GoldBPname -- the bp for your gold
    
    for i=-4,4 do
       for j=-4,4 do
          if toptileitem(posx+i, posy+j, posz) == itemid1 and maround(4) == 0 and (lootbodies == false) then
             pausewalking(1500)
     reachgrounditem(3031)
             moveitems(toptileitem(posx+i, posy+j, posz), ground(posx+i, posy+j, posz), bp1, 100)
             pausewalking(0)
          end
       end
    end

Posting Permissions

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