
#Standard Generic Script to get you started
#see the \scripts directory for more samples to use to solve scripting problems

send "MYINIT\r" 
recv 15000 "OK"
send "MYDIAL\r"
recv 75000 ":" # this should identify query for either "login:" or "name:"
send "MYNAME\r"
recv 60000 "sword:" 
send "MYPASS\r"
recv 6000 ":"  # See NOTE 1.. here selection: or choice: , both end in : 
send "2\r"     # See NOTE 1 In my case this selects option  ppp 
recv 60000 "}" # this "}" identifies ppp as having started on server

# NOTE 1: Remove the send 2/r and recv 6000 lines if your server does not need 
#any furthur input after password and automatically starts ppp. Change these if
 your server requires something different.
# 