PDA

View Full Version : Refill mana potions from depot



czukix
08-03-2016, 05:06 AM
Hello.

Im looking for a simple script. It have to take mana potions from depo while I'm mana training, and later put empty vials to other depot. It's really annoying to waste time for changing it 1000 times. Thank you, I count on this society!

Oscagi
08-03-2016, 08:11 AM
Hello.

Im looking for a simple script. It have to take mana potions from depo while I'm mana training, and later put empty vials to other depot. It's really annoying to waste time for changing it 1000 times. Thank you, I count on this society!



ItemMax = 200 -- Exemple

local amount = (Self.ItemCount(id) - ItemMax)
Self.WithdrawItems(slot, {item, bp, amount})

-- Slot == Depot
-- Item == ID of item to withdraw
-- bp == Bp where to move the item from depot.
-- Amount == How many

czukix
08-03-2016, 05:10 PM
I was trying to configure it but it's not working for me.
It have to take manas from inbox, put it in my carried bag, and when manas ends put vials in depot #4, and again pick 360 manas from mail. Sorry for problems.