/* Dialscript */
options results
signal on error

Set WaitForTimeout 30
Set InterCharDelay 100

YourLogin="YOUR LOGIN"
YourPassword="YOUR PASSWORD"

ShowConsole

call CommandState

call Dial

pause 5

Say "Dialed successfully, please log on."

WaitFor "sername:"
SendLn YourLogin
WaitFor "assword:"
SendLn YourPassword
WaitFor "MTU"

Pause 2
exit 0; /* succesfull exit */

error:
Say "INS : Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
Exit 10


