What is the easiest way to pick up only 1 item from mobs loot and nothing else.
If thats not possible could i make the bot pick up everything and then delete the other items it picked up except the 1 I want to keep?
Certain Loot Pickup
Re: Certain Loot Pickup
Get a loot filter addon such as lootomatic http://rom.curseforge.com/addons/lootomatic/
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Certain Loot Pickup
Code: Select all
function CleanBag()
for i, item in pairs(inventory.BagSlot) do
if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT + 60 and
settings.profile.options.INV_AUTOSELL_TOSLOT + 60 >= item.SlotNumber then
if ( item:isType("Weapons") or item:isType("Armor") ) and 1 > item.Quality then
item:delete()
end
if item:isType("Production Runes") then
item:delete()
end
if item:isType("Runes") then
item:delete()
end
if item:isType("Arrows") then
item:delete()
end
if item:isType("Projectiles") then
item:delete()
end
if item.Name == "Regeneration Mixture" then
item:delete()
end
end
end
end