Magebot

Full Version: Drop used flasks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,

How to automatically drop empty flasks after use. (Mana potions for example)

Tks
Use this script.

Quote:function dropVial()

local quantity = 10
local idVial = {283, 284, 285}

for i=1, #idVial do
local fVial = FindItem(idVial[i])
if fVial ~= nil and fVial.quantity >= quantity then
ThrowItemCtoG(fVial.num,fVial.slot,self.x,self.y,idVial[i],fVial.quantity)
end
end

end

SetTimerCallback("dropVial")