PDA

View Full Version : Magic training - potion refill



czukix
08-05-2016, 05:39 AM
Hello, I need your help guys.


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



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.

Can someone upgrade this?