Results 1 to 3 of 3

Thread: if not ID on XYZ then move items to yourself.

  1. #1
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5

    Lightbulb Request: if not ID on XYZ then move items to yourself.

    Need hotkey that does..

    example, groundid, spiderwebid:

    local spiderwebid = 183
    local groundid = 1234
    local groundcheck = spiderwebid + groundid


    local HoleX = 32936--posicao X
    local HoleY = 32536-- posicao Y
    local HoleZ = 8 -- posicao Z

    while toptileitem(HoleX, HoleY, HoleZ) ~= groundcheck do
    moveitem("from", HoleX, HoleY, HoleZ) to "gound" (under your self)
    end

    wait(2000)
    Last edited by lilb4l; 09-15-2012 at 09:32 AM.

  2. #2
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    anyone got this that can share please?

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    tested and working
    Code:
    local ITEMS = {3147, 285} -- change this
    
    
    local HoleX = 32936--posicao X
    local HoleY = 32536-- posicao Y
    local HoleZ = 8 -- posicao Z
    
    while toptileitem(HoleX, HoleY, HoleZ) ~= ITEMS[1] and toptileitem(HoleX, HoleY, HoleZ) ~= ITEMS[2] do
        moveitems(toptileitem(HoleX, HoleY, HoleZ), ground(HoleX, HoleY, HoleZ), ground(posx,posy,posz),100)
    end
    Last edited by soder; 09-17-2012 at 05:16 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
  •