Results 1 to 4 of 4

Thread: move items from ground

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

    Question move items from ground

    hello, im trying to make an script to hunt in giant spiders, i have a problem, if there's any item in the same tile the spider web is regenerating the char got stucked in there, i need any action to move the items from this tile to the tile the char is. i use this command to cut spider webs, anybody can help me to edit the command to check if the items is the web, is not, move the item then cut the web

    hope you can help me, thx!
    -------------------------------------------------
    wait(500)
    if (toptileitem(32919, 32525, 8) == 183)
    then
    useitemon("machete", 32919, 32525, 8)
    end
    -------------------------------------------------

  2. #2
    iBot User Yokos's Avatar
    Join Date
    Jul 2013
    Posts
    11
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    20
    Rep Power
    4
    PHP Code:
    moveitems(toptileitem(32919325258),ground(32919325258),ground(posx,posy,posz),100

  3. #3
    Normal User
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    ground(posx,posy,posz) <--- its the tile where i want to move the items?

  4. #4
    iBot User Yokos's Avatar
    Join Date
    Jul 2013
    Posts
    11
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    20
    Rep Power
    4
    Quote Originally Posted by Zulsi View Post
    ground(posx,posy,posz) <--- its the tile where i want to move the items?
    yep
    if you leave it with (posx,posy,posz) then char will throw items under himself

Posting Permissions

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