home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
OS2
/
ZOC121.ZIP
/
ZOC
/
SCRIPT
/
SAMPLES
/
5_MODEM
< prev
next >
Wrap
Text File
|
1993-10-07
|
497b
|
26 lines
////////////////////////////////////////////////////////
// FUN WITH YOUR MODEM
////////////////////////////////////////////////////////
// send something to the modem
send "AT^M"
// wait for answer
waitline
delay
writeln "Your modem said %lastline%"
// send something more
send "AT $$$^M"
// wait 5 secs. for reply
timeout 5
wait "ERROR"
delay
ifbrk writeln "Your modem didn't say 'ERROR'"
ifnbrk writeln "Your modem said 'ERROR'"
// done
writeln "bye!"
endscript