Results 1 to 7 of 7

Thread: Exit action- help!

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

    Exit action- help!

    I need action that will exit Tibia when less than 70 mana potion and no monsters on screen.

    Thanks in advance!

  2. #2
    Normal User
    Join Date
    Dec 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Esta on line?

  3. #3
    Normal User hiraansm's Avatar
    Join Date
    Oct 2012
    Posts
    700
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    32
    Rep Power
    6
    Waypoint action:
    mayb it will work

    if maround(9) == 0 then and (itemcount(MPname) <= MPtoback) then
    closetibia()
    end

    and in setup:

    MPname = "mana potion"
    MPtoback = 70
    Last edited by hiraansm; 01-07-2013 at 08:53 PM.

  4. #4
    Normal User
    Join Date
    Dec 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    ta on line?

  5. #5
    Normal User
    Join Date
    May 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by hiraansm View Post
    Waypoint action:
    mayb it will work

    if maround(9) == 0 then and (itemcount(MPname) <= MPtoback) then
    closetibia()
    end

    and in setup:

    MPname = "mana potion"
    MPtoback = 70
    Doesn't work...

  6. #6
    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
    Setup:
    PHP Code:
    MPname "mana potion"
    MPtoback 70 
    Action:
    PHP Code:
    if (maround(7,false) == and itemcount(MPname) < MPtoback and not lootbodiesthen
        closetibia
    ()
    end 

  7. #7
    Normal User eng.mahmoud's Avatar
    Join Date
    Nov 2012
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    Action
    Code:
    local nameMp = "Mana Potion"
    
    if itemcount(nameMp) <= 70 and connected and maround() == 0 then
        setcavebot("no")
        while (battlesigned) do
            wait(1000)
            updateworld()
        end
        closetibia()
    end
    Last edited by eng.mahmoud; 01-09-2013 at 11:58 AM.

Posting Permissions

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