local nextBag = getObjectFromGUID(NextBagGUID)
for index, value in ipairs(self.getObjects()) do
nextBag.putObject(value)
end
Not clear what the issue is. If this script is on the nextBag object, if it works at all, (it shouldn’t) it does not remove anything from the bag, Further, depending on what kind of container you have, this code won’t work at all because bag.getObjects returns a table that describes the objects, not the objects themselves. Zone.getObjects() does return a table of actual objects, but as far as I know zone.putObject() is not valid.