home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Magazin 1996 March
/
CD_03_96.BIN
/
direct
/
qsockpro.qip
/
TOUCHNET.MPS
< prev
next >
Wrap
Text File
|
1996-02-14
|
1KB
|
54 lines
# TouchNET PPP/SLIP login script
# Set variables
String username
String password
String framing
Trace off
SetTimeout 60
CfgGetValue "Username" username
if result = 0 then
print "Warning, no username entered"
else
print "Username set to ["; username; "]"
endif
CfgGetValue "Password" password
if result = 0 then
GetPassword "Enter your password" password
if result = 0 then
print "Warning! No password set"
else
print "Password set"
endif
endif
CfgGetValue "Framing" framing
if result = 0 then
print "Can't read 'Framing' setting from QDECK.INI"
endif
CommWaitFor "ogin:"
CommSend username
CommSend "%r"
CommWaitFor "assword:"
CommSend password
CommSend "%r"
CommWaitFor "mode enabled"
if framing = "MPSLIP" then
print ""
print "Framing is set to SLIP..."
else
print ""
print "Framing is set to PPP..."
endif
end