Results 1 to 7 of 7

Thread: Need 3 actions / vial droper + stop looting gp + skinning

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

    Question Need 3 actions / vial droper + stop looting gp + skinning

    HI need actions

    1. if have 20 empty potion flask - drop it
    2. if have <200 cap stop loting gp and start looting bp when have cap200 +
    3. if 0 monster arround use obsidianknife on dead behemoth

    thx

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    1.
    PHP Code:
    local FLASKS = {283,284,285}

    for 
    1#FLASKS do
        
    if (itemcount(FLASKS[i]) >= 20) and (maround(4,false) == 0then
            moveitems
    (FLASKS[i],"all",ground(posx,posy,posz),100)
        
    end
    end 
    2.
    PHP Code:
    if (cap 200then
        setsettings
    ("Settings\\Looting\\List\\gold coin\\Destination","10")
        if (
    itemcount("gold coin") > 0then
            moveitems
    ("gold coin",GoldBP,ground(posx,posy,posz),100)
        
    end
    else
        
    setsettings("Settings\\Looting\\List\\gold coin\\Destination","03") -- gold bp index
    end 
    3.
    PHP Code:
    if (maround(7false) == 0then
        skin
    (7,true)
    end 
    Last edited by soder; 10-21-2012 at 11:10 PM.

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Damn it soder, stop beating me to all the requests :P Always 1 post ahead.

    However, id change gold looting to this:

    PHP Code:
    local minCap 100
    local goldBp 
    "Golden Backpack"

    if cap minCap then
    setsettings
    ("Settings\\Looting\\List\\gold coin\\Destination"99
    else
    setsettings("Settings\\Looting\\List\\gold coin\\Destination"goldBp
    end 
    that way its nice n east to configurem you can remove the "local" and just put those variables in the setup even.

    Also, i think you need to drop the "" from around the destination when it is an int or variable, correct me if im wrong, but you only need "" if its a string.
    Last edited by pink_panther; 10-21-2012 at 10:07 PM.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by pink_panther View Post
    Damn it soder, stop beating me to all the requests :P Always 1 post ahead.

    However, id change gold looting to this:

    PHP Code:
    ... 
    that way its nice n east to configurem you can remove the "local" and just put those variables in the setup even.

    Also, i think you need to drop the "" from around the destination when it is an int or variable, correct me if im wrong, but you only need "" if its a string.
    In this case I need to use "".
    Also, I prefer int instead of backpack names when chosing destination

  5. #5
    Normal User
    Join Date
    Oct 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Vial Droper doenst work ;/

  6. #6
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Works for me.

  7. #7

    Join Date
    Nov 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Sĺn riktigt hagga

Posting Permissions

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