Results 1 to 2 of 2

Thread: Exit if 10 ultimates healt potions

  1. #1
    Normal User
    Join Date
    Apr 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Exit if 10 ultimates healt potions

    I need an script that if only 10 ultimates health potions left, exit tibia.

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    PHP Code:
    local nameHp "Ultimate Health Potion"
    local minHp 10

    if itemcount(nameHp) < minHp then
    closetibia
    ()
    else
    end 
    This will x-log if you have less than 10 Ultimate health potions.

    You can replace closetibia() with a gotolabel() if 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
  •