; ; This is a script file that demonstrates how ; to establish a PPP connection with a host ; that uses a menu system. ; ; A script file must have a 'main' procedure. ; All script execution starts with this 'main' ; procedure. ; ; Main entry point to script ; proc main ; Wait for the login prompt before entering ; the user ID delay 1 waitfor "sername:" delay 1 transmit "ppp" delay 1 transmit "^M" ; Enter the password delay 1 waitfor "assword:" delay 1 transmit "ppp" delay 1 transmit "^M" endproc