I've done some more testing to my pilots cap checking script. I've found it to be a serial killer later in the game. When the number of pilots in the system is high it clears your hangar like mad

. It's fun to watch but makes game totally unplayable.
I have hard time trying to find good function/command that can see difference between pilots controlled by the player and others (called by name like Phantom) existing in the sector. If someone has any idea please share.