Results 1 to 4 of 4

Thread: gotolabel wp-1?

  1. #1
    iBot User
    Join Date
    Sep 2012
    Posts
    239
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    46 Post(s)
    Reputation
    23
    Rep Power
    5

    gotolabel wp-1?

    I am pretty sure I saw this somewhere:

    PHP Code:
    gotolabel("my_waypoint" 
    Not exactly like that, but you get the point. Is it possible?

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    [ilua]gotolabel(wpt.id-1)[/ilua]

  3. #3
    iBot User
    Join Date
    Sep 2012
    Posts
    239
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    46 Post(s)
    Reputation
    23
    Rep Power
    5
    Thanks.

    And what getting the current waypoint name, e.g.:
    PHP Code:
    if wpt.name == "depot" then
    ...
    end 
    Is that possible?

  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
    Check this out:
    http://www.tibiaibot.com/forum/showt...-and-Functions

    It contains all variables and functions and will help you with your scripting.

Posting Permissions

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