To use a script file, use the go command from the Autolog command
The default file extension is .ago (Autolog go file).
Script files are simply text files that contain Autolog commands. You can create them using a text editor or word processor (but remember to save the script file as a text-only file). Script files can contain "regular" interactive Autolog commands that you normally use (such as file transfer commands or link, modem, and dial). There are also a number of commands just for script files so you can instruct Autolog to behave intelligently even if no one is present to watch over a communications session.
A script file called autolog.ini is used automatically each time you start Autolog. You can use the /n (or -n) switch with the autolog command to prevent the autolog.ini file from executing. You can also name a script file as an argument to your autolog command to execute that script when Autolog starts up.
Script files can contain any Autolog command that you can use interactively. For example, here's a simple script file to dial a modem number:
; Comments like this begin with a semicolon.
link com2 ; tell Autolog where your modem is
modem at ; tell Autolog what type of modem it is
dial 555-1212 ; dial a number
talk ; enter talk mode to use the remote system
Script files can also use a number of special commands that are useful
mostly for controlling the behavior of a script file. These commands help
Autolog's script files behave intelligently, make decisions, and handle
the unexpected. The special script file commands include the following: