Results 1 to 7 of 7

Thread: Help with an Action!

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

    Help with an Action!

    hello.. i have make a condition but it seems not work

    if (itemcount(nameMp) < minMp or (weaponamount+itemcount(nameAmmo)) < minAmmo or cap < minCap) then gotolabel("Sair") else gotolabel("Start")

    can some1 help ?

    ty

  2. #2
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    i have config the Setup too!! and still not working

  3. #3
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    if itemcount(nameMp) < minMp or (itemcount(nameAmmo) + weaponamount) < minAmmo or cap < minCap)
    then gotolabel("Sair")
    else gotolabel("Start")
    end

    Try if that works

  4. #4
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    just tried it now and still dont working!!
    btw THANKS VERY MUCH for try to help me Drakke

    some1 can solve my prob?!

  5. #5
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    if itemcount(nameMp) < minMp or (itemcount(nameAmmo) + weaponamount) < minAmmo or cap < minCap
    then gotolabel("Sair")
    else gotolabel("Start")
    end

    Meh, forgot to remove ")" and the end of the first line, try it now

  6. #6
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    yay man, its works now!! REP++ to u
    thanks very much!

  7. #7
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    NP Mate

Posting Permissions

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