/* 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 "ogin:"
SendLn YourLogin
WaitFor "ssword:"
SendLn YourPassword
WaitFor "rotocol:"
SendLn "PPP"
WaitFor "PPP"

Pause 2
exit 0; /* succesfull exit */

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


