Results 1 to 8 of 8

Thread: Action - Go to city when 1k in bp or cap >50

  1. #1
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Action - Go to city when 1k in bp or cap >50

    Hiho, I need action to back my character when I have in my backpack 1k or 50cap.

    This is my action, what I need to change with this?

    if cap < minCap then
    gotolabel("refiller") else
    gotolabel("hunt")
    end

    Please help me

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Code:
    if cap < minCap or gold() >= 1000 then
    gotolabel("refiller") else
    gotolabel("hunt")
    end
    Last edited by wgrzelak; 07-01-2012 at 10:06 AM.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Character going back to the city when complete one round..., dont work :/
    Last edited by kubeq95; 07-01-2012 at 08:32 AM.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Change <= 1000 to >= 1000 and it will work!

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    so when i paste this all is work ya?

    if cap < minCap or gold() <= 1000 then
    gotolabel("refiller") else
    gotolabel("hunt")
    end

  6. #6
    Normal User Topotonixs's Avatar
    Join Date
    Apr 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by kubeq95 View Post
    so when i paste this all is work ya?
    yes, paste this on Action from Cavebot

  7. #7
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    when I paste this, character not going to city.

    When I have
    if cap < minCap or gold() >= 1000 then
    gotolabel("refiller") else
    gotolabel("hunt")
    end
    Character doing one round of cave and go city

  8. #8
    Normal User
    Join Date
    May 2012
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    if cap < 50 or gold() >= 1000 then
    gotolabel("refiller") else
    gotolabel("hunt")
    end

    Try it...

Posting Permissions

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