Results 1 to 5 of 5

Thread: If Less Than "x" Manas And "x" Hp Potion EXIT GAME

  1. #1
    Normal User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    11
    Rep Power
    5

    If Less Than "x" Manas And "x" Hp Potion EXIT GAME

    If Less Than "x" Manas And "x" Hp Potion EXIT GAME
    Last edited by soder; 03-14-2014 at 09:51 PM.

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    Lua Code:
    if itemcount(ManaName) < X and itemcount(HealthName) < Y then closetibia() end

  3. #3
    Normal User MrLovely's Avatar
    Join Date
    Jun 2012
    Location
    PROland
    Posts
    249
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    50
    Rep Power
    5
    Quote Originally Posted by RafiXWPT View Post
    Lua Code:
    if itemcount(ManaName) < X and itemcount(HealthName) < Y then closetibia() end
    He wanted "If Less Than "x" Manas And "x" Hp Potion EXIT GAME ", so should be other x instead of y
    Last edited by MrLovely; 03-10-2014 at 12:20 AM.

  4. #4
    Normal User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by RafiXWPT View Post
    Lua Code:
    if itemcount(ManaName) < X and itemcount(HealthName) < Y then closetibia() end
    how can i use it with "mana potion " and "great health porion" replace it please.. im not good in this things

  5. #5
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    Gash....
    Lua Code:
    if itemcount("mana potion") < X and itemcount("great health potion") < Y then closetibia() end


    just change X and Y to amount you want.

Posting Permissions

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