I really like this script ^.^
I find one annoyance about it though:
Too many ranks/levels >.> If you look at real life, the only "Pilots" in the airforce are 2nd lieutenants and upwards (Airforce O1+), bellow that are only ground crew.
Ontop of that, starting at O7 (Airforce Brigadier General), you're considered a Flag Officer and no longer pilot planes, instead you pilot a desk. Ofcourse in space operas like Wing Commander wich makes heavy use of fighters and carriers, you see a mixture of Airforce and Naval rank usage:
Navy ranks are used for starship crew, Airforce ranks are used for the fighter crew.
I have a quick suggestion, (unless someone else is willing to make the modification or help me figure out to do the modifications)
You can easily reduce the number of ranks to 16, spacing them out by increasing xp requirements. I'll list an example of ranks that I quickly compiled by combining airforce/navy of the US and Canada (international) along with some notes I wrote down to maybe improve your script (wether you use my ranks or not

)
OFFICER RANKS:
1 Ensign (can pilot TP)
2 Lieutenant Jr Grade (can pilot TS)
3 2nd Lieutenant (can pilot M5)
4 1st Lieutenant (can pilot M4)
5 Lieutenant Commander (can pilot M3)
6 Commander (can pilot M3+)
7 Major (flight commander; can lead a squad of up to 6 M3+, M3, M4, M5, TS, or TP)
8 Lieutenant Colonel (squadron commander; can lead up to 2 flights)
9 Colonel (wing commander; can lead any number of M3+, M3, M4, M5, TS, or TP)
10 Captain (Starship command; can pilot TL, M6, M7, and M2)
FLAG RANKS:
11 Commodore (Flagship command; can pilot M1)
12 Rear Admiral (Task Force command; can lead up to 4 starships)
13 Vice Admiral (Squad command; can lead up to 2 task forces)
14 Admiral (Fleet Command; can lead up to 2 squads)
15 Fleet Admiral (Armada command; can lead up to 2 fleets)
16 Space Marshal (Sector Command; can lead all friendly ships in a sector)
Here's some of my thoughts and explanations on the previously mentioned notes:
I like how an AI would have to earn ranks in order to be moved onto a new ship (assuming you *must* have an AI on all ships, a newly created or purchased vessel could become an exception to this, thus having a low-rank AI on a high-rank ship... not that it would be beneficial ^.^;;)
The bonuses provided by those that can "lead" multiple vessels apply the bonus to any ship that has his/her vessel either as Homebase or in the same squadron.
I don't know if all of this is useable, and I'm not saying the current system is bad, just my $0.02 CND on the possibility of improvements
So far I haven't had any trouble with this script and I use the Bonus Pack (latest), Xtended (latest), Anarkis Carrier Commands (latest) and Sector Takeover (latest)... oh, and Lv's cheats ofcourse.