Results 1 to 3 of 3

Thread: Loot food until x amount?

  1. #1

    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5

    Loot food until x amount?

    For example: Loot meat until 5 meats in bp, then stop looting. ??

  2. #2
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    Something like this would work~~ change it to your preference.
    PHP Code:
    if itemcount("meat"mainbp) >= 5 then
    setsettings
    ("Settings\\Looting\\List\\meat\\Destination""ground")
    else
    setsettings("Settings\\Looting\\List\\meat\\Destination""mainbp")
    end 

  3. #3
    Banned
    Join Date
    Mar 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    6
    Rep Power
    0
    Try this in actions:
    Code:
    local meat = itemcount(3577)
    if (meat > 5)
    then
        pausewalking(1000)
    setsettings("Settings\\Looting\\List\\Meat\\Destination","ground")
    else
    setsettings("Settings\\Looting\\List\\Meat\\Destination","All")
    end

Posting Permissions

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