Results 1 to 4 of 4

Thread: check

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

    check

    SETUP

    -- Bps Setup --

    mainBP = "Demon backpack" --
    goldBP = "Golden backpack" --
    lootBP = "Purple backpack" --

    MainDPBP = "Beach Backpack"
    StackableDPBP = "Brocade Backpack"

    -- Refill Setup --

    pocao = "strong mana potion"
    qtdmanas = 100
    preco = 80
    leavepot = 30

    leavecap = 70


    CHECK

    if (cap > leavecap) or (itemcount(pocao) > leavepot) or (itemcount("Worn Soft Boots") < 1) then
    gotolabel("hunt")
    else
    gotolabel("go_refill")
    end



    PROBLEMA
    a cap estava abaixo da cap para sair (leavecap) e msm assim o char estava indo para a hunt.




    alguem poderia me ajudar?
    desde ja grato

  2. #2
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    PHP Code:
    if cap <= leavecap or itemcount(pocao) <= leavepot or itemcount(6530) > 0 then
    gotolabel
    ('go_refill')
    else
    gotolabel('hunt')
    end 

  3. #3
    Normal User
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Sayildd View Post
    PHP Code:
    if cap <= leavecap or itemcount(pocao) <= leavepot or itemcount(6530) > 0 then
    gotolabel
    ('go_refill')
    else
    gotolabel('hunt')
    end 
    muito obrigado

  4. #4
    iBot User NoMercy's Avatar
    Join Date
    Feb 2012
    Location
    São Paulo, Brazil
    Posts
    1,311
    Mentioned
    26 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    39 Post(s)
    Reputation
    120
    Rep Power
    8
    /Closed

    ...

Posting Permissions

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