Results 1 to 4 of 4

Thread: Take royal spears from dead bodys and equip it

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

    Take royal spears from dead bodys and equip it

    title is self explanatory

    If Itemcount('royal spear') < 5 looting > royal spear > on

    if Itemcount('royal spear') > 15 looting > royal spear > off

    something this

    Queria um script para pegar royal spear de um mob e por na mão , caso esteja com 3 spear ele começe a pegar mais do mob!

  2. #2
    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
    If you are botting a pally and using royal spears, eg botting Djinns on a pally, just create 1 action script that does:

    PHP Code:
    local minSpears 15
    if weaponamount minSpears then
    moveitems
    ("Royal Spear""all"weapon100)
    end 
    This should move any spears in any open container to your weapon hand. I haven't tested it

  3. #3
    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
    Code:
    if weaponamount > 5 then -- check amount in hand
       setsettings("Settings\\Looting\\List\\Royal Spear\\Destination","10") -- dont loot spears(bp 10)
    else
       setsettings("Settings\\Looting\\List\\Royal Spear\\Destination","0") -- loot spears(bp 0)
       if itemcount("royal spear") > 0 then -- checking if rs in backpack
          moveitems("royal spear", "all", weapon, 100) --moving rs to hand
       end -- close statement
    end -- close statement
    Last edited by soder; 08-16-2012 at 03:46 PM.

  4. #4

    Join Date
    Jul 2012
    Posts
    362
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    45
    Rep Power
    5
    @up for sure destination 10 is not 10th bp
    its 11.

Posting Permissions

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