Click the Edit button in the Dial-Up Scripting Tool to open Notepad, and use it to type in the script commands. The script is constructed from the commands shown in Table 6-1. These are the proc , endproc , waitfor , transmit and delay commands. Send the username and a carriage-return. Send the password and a carriage-return.
Every script starts with a proc main statement and ends with an endproc statement.
The proc statement marks the beginning of the script and the endproc statement marks its end. Remember to start and end all scripts with these statements. The delay command causes the script to wait the number of seconds specified on the command line. In the example the script waits for two seconds. A delay statement is frequently used at the beginning of the script or when the script must send data without receiving a prompt from the remote system.