Results 1 to 7 of 7

Thread: Action move items

  1. #1
    Normal User Sidd's Avatar
    Join Date
    Feb 2012
    Location
    Arica - Chile
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5

    Action move items

    i need one persisnt action
    Move items from floor to bp
    ____________________________________
    Sidd

    "Server Dominado" best word in tibia

  2. #2
    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
    This will take items under your char.
    PHP Code:
    local ITEMS = {"dragon scale mail","royal helmet"}

    for 
    1#ITEMS do
        
    if(toptileitem(posx,posy,posz) == itemid(ITEMS[i])) then
            moveitems
    (toptileitem(posx,posy,posz),ground(posx,posy,posz),"all",100)
        
    end
    end 

  3. #3
    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
    pickupitems(direction, item array)

    eg

    pickupitems("n", "item1", "item2", "item3")

  4. #4
    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
    Quote Originally Posted by pink_panther View Post
    pickupitems(direction, item array)

    eg

    pickupitems("n", "item1", "item2", "item3")
    Lol I totally forgot about that function..

  5. #5
    Normal User
    Join Date
    Mar 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thx i go use

  6. #6
    Normal User Sidd's Avatar
    Join Date
    Feb 2012
    Location
    Arica - Chile
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5
    and what about move items from bp to xxx sqms?
    ____________________________________
    Sidd

    "Server Dominado" best word in tibia

  7. #7
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Just stand on sqm and dropitems("item 1", "item 2")

Posting Permissions

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