TTWin3 is distributed with a sample login script called login.tsl. This script is located in the TTWin3\Scripts directory and can be customized to suit your requirements.

To have the script start automatically when you start TTWin3, Select Configure > Preferences > Session and add the following line to the Startup string.

\S'login.tsl'

If you want to run the script every time you connect add the string to Connect string instead of Startup string. To enable the script to run at startup as well tick the Auto connect on startup option.