PDA

View Full Version : If Container full, move items into other container



saweh
01-09-2016, 12:32 AM
Hello im looking for a script that moves 1 or more items from 1 or more bps into other bp, if the bps are full.
Example: im looting more than 20 halberds and i want to move some of them into other container because the loot container is full, so i can keep looting into the first container. It would be enough if it moves one item from first container into another one, if the first gets full. Idk if its possible to move 2 or 3 different items from 2 or 3 containers (which gets full) into another container. Like im looting into first bp halberd, in second im looting dark helmet, in third plate shields and if any of these containers get full, move items from the full containers into other backpack.

Someone told me to use: Container:EmptySlots() :but i dont know how to script that :/ Would be great if someone could help me out with this :)

Best Regards
Saweh

DarkstaR
01-09-2016, 01:30 AM
XenoBot will do this automatically. Just have multiple backpacks inside eachother.

saweh
01-09-2016, 11:49 AM
If im doing it this way, it will deposit every item from the bps ? or just from the currently opened one

saweh
01-09-2016, 03:15 PM
Is there anyone who could make the script to move listed items into a container if the "x" container is full? :/ To put a bp inside the loot bp wont work for the depositer ;/

DarkstaR
01-12-2016, 12:43 AM
Yes, it will work for the depositor. How about you try it before asking for help? XenoBot has been here for 6 fucking years, do you think you're the first person with this problem?

saweh
02-01-2016, 09:48 AM
ofc i tryed it out and it didnt work... later someone told me i have to use resetbps script to deposit every item of all bps then it worked...

shadowart
02-01-2016, 10:41 AM
ofc i tryed it out and it didnt work... later someone told me i have to use resetbps script to deposit every item of all bps then it worked...
It does not deposit from containers that are "up one level". Your previous posts never mention this as being the problem though. If you want good help you'll have to get better at describing your problem.

saweh
02-02-2016, 11:10 AM
Well im sorry but its not that easy for me to explain things in a different language :/ Anyway ive got it now and thanks for your help guys :)