Results 1 to 2 of 2

Thread: if not islocation then gotolabel "xxx" and close tibia.

  1. #1
    iBot User Luciano Cage's Avatar
    Join Date
    Sep 2012
    Location
    Poland
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    5

    Question if not islocation then gotolabel "xxx" and close tibia.

    Hi!
    I need your help to create an action that will go to label "xxx" and close client if character cannot reach location.
    My suggestion (but don't know if it gonna work)

    Code:
    if not islocation() then
         gotolabel("xxx")
         wait(1000,2000)
    setsettings("Settings\\CaveBot\\Enabled", "no")
         wait(1000,2000)
         while (connected) do
                closetibia() 
    end
    I have no hell idea

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
    if not islocation() then
         gotolabel("xxx")
    end

    And after wpt "xxx":
    Lua Code:
    if not islocation() then
         closetibia()
    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
  •