home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
DATACOM
/
TERM
/
LW2_HACK
/
LW_HACK.SCR
< prev
Wrap
Text File
|
1993-10-15
|
842b
|
45 lines
** Clear Screen
ClrScr
** Set up variables
Int Log
Int Yes
Int Nope1
Int Nope2
Int Nope3
** set this variable to the number you wish to start checking from
Int Counter=733-2285
** set up events to track
Event Yes Online Found
Event Nope1 Find "NO CARRIER" ClearLine
Event Nope2 Find "BUSY" ClearLine
Event Nope3 Find "VOICE" ClearLine
** dial the number in Counter
:DoDial
ClrScr
Disp "Looking for modem at: " Counter \n \n
Send "ATDT*67," Counter \n
wait 38
** Clear the line (hangup)
:ClearLine
Hangup
Wait 3
Inc Counter,1
Goto DoDial
** Write to a log file, the number where a connect occurred
:Found
Open "TM.LOG", Log
Write Log, "Carrier found at (416)" Counter \n
Close Log
Goto ClearLine
** Routine to exit script
:CleanUpScript
Disp "ESC pressed, HACK terminated." \n \n
Hangup
Halt