Results 1 to 4 of 4

Thread: O que tem de errado nesse action?

  1. #1
    Normal User
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    O que tem de errado nesse action?

    Alguem pode me explicar o que tem de errado no action de check abaixo?

    Colquei a variavel "mincap = 100" no setup corretamente, mas não funciona de jeito nenhum. Se retirar a parte de cehgar a cap 2º exemplo, funciona corretamente.

    1º exemplo (Com erro)
    if itemcount(nameMp) > minMp and
    itemcount(nameHp) > minHp and
    itemcount(Runename) > Minrune and
    mincap < Cap
    then gotolabel("w070")
    end

    2º exemplo (Sem Erro)
    if itemcount(nameMp) > minMp and
    itemcount(nameHp) > minHp and
    itemcount(Runename) > Minrune
    then gotolabel("w070")
    end

    Por favor ajudem.

    Abs

  2. #2
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    if itemcount(nameMp) > minMp and 
    itemcount(nameHp) > minHp and
    itemcount(Runename) > Minrune and
    cap > mincap
    then gotolabel("w070")
    end

    ou se for do jeito que tava ai msm...

    if itemcount(nameMp) > minMp and 
    itemcount(nameHp) > minHp and
    itemcount(Runename) > Minrune and
    mincap < cap
    then gotolabel("w070")
    end
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

  3. #3
    Normal User
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    To vendo direito ou a unica coisa errada era o Cap com C maiusculo?

    Bom não sei se era mas dfeu certo... vlw msmo.

  4. #4
    Normal User tinicius's Avatar
    Join Date
    Nov 2012
    Location
    Minas Gerais, Brazil.
    Posts
    457
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    38
    Rep Power
    5
    além do c, também foi o sinal que tava invertido '-'
    If i helped you rep+


    Scripter
    Selling EK 410 w/ 87 days of voucher AND 390 ED w/ 6 days of voucher BOTH PVP
    Actions That You May Need Here!

Posting Permissions

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