Found in the ships navigation menu as "Dock Transport"
The command will work on TS + TP class ships for docking at TL's as long as they have a free dock bay, The script has been updated so you choose the ship you want to dock with or undock from via the command and your ship will dock, If it is in another sector it will fly to the specified TL
Also added, TP class ships can now dock at M1 Class Carriers

The Dock TS command also will remove the ship from your TL in sector, (oos you can use the ego Fly To Sector Script)
WARNING You must not be in the ship when docking it or undocking or you will stranded inbetween the game and the twilight zone

Install, Extract to your main x3 directory.
Uninstall - Delete the 2 scripts your downloading the the 448003 file

The command costs nothing and is available on TS ships as soon as you install it
Download Link
Download Link Cycrow Installer
If anything else needs adding to this code as it's a quick and simple fix let me know

---------------------
448003
COMMAND_NAV_250