Results 1 to 4 of 4

Thread: Log out in a X Point when have X number of potion

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

    Log out in a X Point when have X number of potion

    someone know how do that
    and can explain me pliz i dont know how
    ty

  2. #2
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    Go to the place you want the bot to logout at and use this action:

    PHP Code:
    local mincount 50 -- // below this amount will close the client
    local manaid "mana potion" -- // name of mana potion

    if (itemcount(manaid) <= mincountthen
             setcavebot
    ("off")
             
    closetibia()
    end 

  3. #3
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Actually, you forgot the main point of this thread, he want to logout in a X point.
    so, try this one:

    Code:
    if itemcount("mana potion") <= x then
    gotolabel("myLabelLogout")
    setcavebot("off")
    closetibia()
    end
    Quote Originally Posted by Balbek View Post
    Go to the place you want the bot to logout at and use this action:

    PHP Code:
    local mincount 50 -- // below this amount will close the client
    local manaid "mana potion" -- // name of mana potion

    if (itemcount(manaid) <= mincountthen
             setcavebot
    ("off")
             
    closetibia()
    end 

  4. #4
    Normal User
    Join Date
    Sep 2012
    Location
    Chile
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    but first need lose pz for dot die :S how do that?

Posting Permissions

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