Log in

View Full Version : Move Spears from Depot to Backpack



oryd
03-04-2016, 06:34 PM
Hello, i need function for move spears from depot slot to backpack?
Anyone can help me?

krille09
03-04-2016, 07:39 PM
--- Self withdraw items
-- Withdraws a specific amount of a specific item from a specific slot to a specific container
-- @ Class Self
-- @ param slot the depot container's slot
-- @ param ... item's name or id, toContainer, amount
-- @return boolean true or false
function Self.WithdrawItems(slot, ...)


You can use this

Self.WithdrawItems(0, {"boots of haste", "blue backpack", 100})

I think