01-30-2022, 12:54 AM
Hello!
I have been sitting here all day trying to work this out but i give up! alt="Sad" title="Sad" class="smilie smilie_8" />
What i want is part of my refiller, drag UH's from my loaded depot to my little Uh Backpack and when it reach the end of it, its done!
This is what i got so far, if it helps you get an understanding of what i need.
Character bp UH = bp inside of bp (click next bp when full)
depot bp is just 20x bps inside of my "UHDP"-bp , so i need it to go into the first one, once its empty, go back and into next (trashing the empty one would be cool but not needed)
(gray backpack is the bp UHs, (buy a bp blank and you get it as gray, so every bp uh sold on the server is made in a gray one)
I have been sitting here all day trying to work this out but i give up!
What i want is part of my refiller, drag UH's from my loaded depot to my little Uh Backpack and when it reach the end of it, its done!
This is what i got so far, if it helps you get an understanding of what i need.
Character bp UH = bp inside of bp (click next bp when full)
depot bp is just 20x bps inside of my "UHDP"-bp , so i need it to go into the first one, once its empty, go back and into next (trashing the empty one would be cool but not needed)
(gray backpack is the bp UHs, (buy a bp blank and you get it as gray, so every bp uh sold on the server is made in a gray one)
--character
UhBp=5117
--depot
UHDP='blue backpack'
reachgrounditem('locker')
wait(500)
openitem('locker')
wait(1000)
openitem(UHDP, 'locker')
wait(200,400)
openitem('gray backpack', UHDP)
while itemcount(3160, UhBp)<20 do
while itemcount(3160, 'gray backpack')>0 and getcontainer(UhBp).usedslots<20 do
moveitems(3160, UhBp, 'gray backpack')
while getcontainer(UhBp).usedslots==20 do
wait(500)
openitem(UhBp, UhBp)
wait(500)
while itemcount(3160, 'gray backpack')==0 do
wait(500)
higherwindow('gray backpack')
wait(1500)
moveitems(2870, ground(posx(), posy(), posz()), UHDP, 1)
end
end end