Results 1 to 3 of 3

Thread: Item on screen/ground action.

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Item on screen/ground action.

    Heya guys,

    Straight to the topic, I've been looking for an action/function/variable or whatever for a looong time and haven't succeeded yet.
    I need something that detects a item with a defined ID (For example: X) on ground, on a range of 7 sqms, and return true or false. Would be very useful for example when the bot tosses BoH, Softs or any other item due to the conflict between 2 Actions, or could be also useful for creating a hundred percent working stake/skin script.

    Last but not least, is there anywhere you can see ALL the variables and functions available on IBot?
    'Cause I think the one on the forums with title "[IBot] Variables and Functions" lacks some good useul information when creating scripts :/

    That's it, thanks in advance!
    Sayow.

  2. #2
    Normal User
    Join Date
    Mar 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    C'mon guys, need a hand on this :/

  3. #3
    iBot User
    Join Date
    Nov 2012
    Posts
    319
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    33
    Rep Power
    5
    http://www.tibiaibot.com/forum/showt...-and-Functions

    and the other I used one for take "dwarven pickaxe" I dont remember where I see it but....... the char need pass close of the Item all with take it to the main bp

    .
    PHP Code:
    local ITEMS = {"dwarven pickaxe"}
    local DIRECTIONS = {"c","n","s","e","w","se","sw","ne","nw"

    for 
    1#ITEMS do
        
    for 1#DIRECTIONS do
            
    pickupitems(DIRECTIONS[j],ITEMS[i])
        
    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
  •