Klyith, I just tried your script and it's awesome. One of those "can't live without it" things.
If you're still working on it, I have a few suggestions:
1. Would it be possible to trim out the prefix of "Pirate" and "Otas" from ship names? That would shorten things up a bit. Similarly, a version without "Vanguard", "Raider", etc.
2. It would be nice to have a fairly short representation of the patrol leader, so I didn't end up with M3 Falcon Escort (ReallyBigLongNameThatOverflowsTheWindow)
Maybe be able to pick which things you want to display from the leader, like appending the two things: *FL*CL to display the leader's class name, etc.
3. The XTM M7 ships appear as M1's. I think it's not a problem with your script per se, since I've seen that elsewhere. But I wonder if it might be possible to address it in the script, like have a little remapping table that fixes M1->M7 class when it sees a known M7.
4. I didn't read every post in the threat, but I think someone mentioned conditionals. That would be sweet... I could do something like assign a string like "Patrol" if he was a patrol leader, or "Escort" if he was assigned to protect someone else.
Great stuff, even without all that - I'm using it all the time. I hope you're still out there!