Results 1 to 4 of 4

Thread: neeed good example with under cap,under mana,under health else gotolabel

  1. #1
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0

    neeed good example with under cap,under mana,under health else gotolabel

    I want goto xlabel when under x mana potion and health potion and if cap also I want if all cool but else gotolabel good example please

  2. #2
    Normal User
    Join Date
    May 2012
    Location
    Manchester, England
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Should work
    Code:
    if itemcount("mana potion") < 20 or 
    itemcount("health potion") < 20 or 
    cap < 50 then
    gotolabel("xlabelwhennotenoughsupplys")
    else
    gotolabel("starthunt")
    end

  3. #3
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0
    I love you star

  4. #4
    iBot User Stock.'s Avatar
    Join Date
    May 2012
    Location
    ★♣Stock Scripts♣★
    Posts
    691
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    84
    Rep Power
    6
    if you want more "codes" just check the section "Tutorial & Examples" on the forum!

Posting Permissions

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