Kept forgetting to post this. Below is how the item script will work. Please note this script is a one time run only. Once it completes successfully it will not be run again.

It will transfer ownership of items in the simplest manner. It will take the item and make it owned by the base owner of the main entity it is in. Let me explain what I mean further. For puposes of this script the main entities are as follows it will go till it finds one of the below. If it can't find it after enough passes to make it not worthwhile to try anymore it will skip the item and send me a list of the item for me to track down after the fact:
  • Ship
  • Character
  • Vehicle
  • Planet
  • City
  • Facility
  • Space Station
  • NPC

EXAMPLES:

Ship is main entity:
If your item is in another item or just in a room on a ship. Ownership of the item will transfer to the owner of the ship.

Character is main entity:
So if your item is in another item that is equipped to a character or if your item is just equipped to a character. Ownership of the item will transfer to the character.

Vehicle is main entity:
So if your item is in a room in a vehicle or in an item in a room of a vehicle. Ownership of the item will transfer to the owner of the vehicle

Planet is main entity:
So on a planet if the item is not in a city just sitting on the surface of a planet it will check if any faction 'owns' the planet. If one does the ownership will transfer to them...if not then the item goes the way of the dodo.

City is the main entity:
So if your item is laying around in a city. Ownership of the item will be transfered to whomever owns the city.

Facility is the main entity:
So if your item is in a room in a facility. Ownership of the item will be transfered to whomever owns the facility.
Space Station is the main entity:
So if your item is in a room in a space station. Ownership of the item will be transfered to whomever owns the space station.

NPC is the main entity:
So if your item is on an npc. Ownership will be transfered to the owner of the npc.


Now a more detailed explaination just in case you have any quesiton this hopefully will solve them. So if Item X is currently in Item Y and Item Y is currently in a room on a ship owned by Player A, and the ship is in a building owned by Player B and the building is in a city owned by Player C and the city is on a planet where the government is Faction D. Ownership of Item X will go as follows:

It will check its container (Item Y). Since Item Y is not a main entity it will check the container of Item Y (Ship owned by Player A). The Ship is a main entity so Item X will be transfered ownership of itself to Player A. Happy Player A see him dance he has an item now.

DISCLAIMER:

This script was deteremined by the players to be needed so once it runs this weekend pending it runs successfully. Nobody from the adminstration staff will transfer ownership of items to players because they lost them because of the script. There will be no special considerations for anyone either. The results of the script once I am satisfied with the results are final. So I will repeat this one more time just to be sure. Once I feel confident the script ran as it should have which I will be checking the day it runs, the results are final and all claims shall be ignored.