Results 1 to 6 of 6

Thread: Stop looting gold if cap < x

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

    Stop looting gold if cap < x

    Well, i know that's quite simple but i'm doing something wrong so i would like someone to do it!
    thanks

  2. #2
    Normal User
    Join Date
    Jul 2012
    Posts
    609
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    37
    Rep Power
    6
    if cap < 100 then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination","10")
    else
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination","03")
    end

    It will not pick it up since bp 10 does not exist

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    5
    thanksss! i was looking for this and i could't find.. works perfectly

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    14
    Rep Power
    5
    u can use something more

    local gpbp = "Green Backpack"
    if cap < 100 then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination","99")
    else
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination",gpbp)
    end

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    14
    Rep Power
    5
    wrong
    local gpbp == "Green Backpack"

    sory my fault

  6. #6
    Premium User iwoq's Avatar
    Join Date
    Mar 2012
    Location
    Derby
    Posts
    154
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by Ikalos View Post
    if cap < 100 then
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination","10")
    else
    setsettings("Settings\\Looting\\List\\Gold Coin\\Destination","03")
    end
    work, work

Posting Permissions

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