PDA

View Full Version : Manas From DP to BP



tjenabror321
04-24-2017, 02:38 PM
Hi,

I need a script that takes like 300 ump from depot and put it in backpack and when he have like 50 left he takes more, (for mlvl)

i have the 10day trial so dont tell me to buy the bot first.

thx.

Pixels
04-25-2017, 03:19 PM
http://i.imgur.com/ulntAGi.png

tjenabror321
04-25-2017, 03:51 PM
nice one bro, I allready searched the forum and google jackass

Samoxx
12-25-2017, 12:42 AM
Try this below code, maybe can help you something.

Lua Code:

--Moving manas and potions etc, to your manas backpack--

ManaBp = "Purple Backpack"
ManaPotID = Item.GetID("23373") -- Ultimate Mana Potion --

while true do
if (Self.ItemCount(ManaPotID) >= 1) then
local MainBp = Container.GetFirst()
local DestinationBp = Container.GetByName(ManaBp)


for spot = 0, MainBp:ItemCount() do
local item = MainBp:GetItemData(spot)
if (item.id == ManaPotID) then
MainBp:MoveItemToContainer(spot, DestinationBp:Index(), 0)
wait(500)
break
end
wait(200)
end
end
wait(300)
end