Results 1 to 2 of 2

Thread: Help with an action

  1. #1
    Normal User
    Join Date
    Feb 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    236
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Help with an action

    I need an action like this:

    if islocation(5) and if (itemcount(MPname) < MPtoback) or (itemcount(HPname) < HPtoback) or (cap < 200) then
    gotolabel("Exit")
    else
    gotolabel("Hunt")
    end

  2. #2
    Normal User push22's Avatar
    Join Date
    Mar 2012
    Location
    USA
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    5
    I think all the information needed is there? just a matter of splitting it up

    if islocation(5) then
    if ((itemcount(MPname) < MPtoback) or (itemcount(HPname) < HPtoback) or (cap < 200)) then
    gotolabel("Exit")
    else
    gotolabel("Hunt")
    end
    else
    gotolabel("Hunt")
    end
    +rep me if you find me helpful

    Bought 320 ED/300 EK from Kartofel (Middleman: Eli)


    Member of the Nemiks Scripts Team

    Check out our NEW Screenshots Thread

Posting Permissions

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