home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
DOOR
/
1STDEAL.ZIP
/
1ST-112.ZIP
/
SCRIPTS.ZIP
/
$$PCB.SCR
< prev
next >
Wrap
Text File
|
1993-05-23
|
2KB
|
86 lines
' ┌────────────────────────────────────┐
' │ PCBoard login script for 1stReader │
' │ Written by Mark Herring │
' │ May 15th, 1993 │
' └────────────────────────────────────┘
TIMEOUT 30
SET_API$(142)="PCBOARD"
LOOKFOR "Esc" "X'1BX'1B"
LOOKFOR "correct? " "^M"
LOOKFOR "elp, More? " "N^M"
LOOKFOR ") to continue?" "^M"
LOOKFOR "ll new mail? (" "N^M"
LOOKFOR "<CHAT>" "Sorry, I'm on automatic using 1stReader^M"
REQ_FILE @API$(14)@API$(10).REQ
LOCKLINE 20 30
COMMENT "@DATE@ @TIME@ Connected with @BBSNAME@"
COMMENT "@DATE@ @TIME@ Opened capture file @BBSID@.CAP"
COMMENT "@DATE@ @TIME@ Logging in to system"
WAITFOR "Language #|=no change?|color|graphics (" 20
LOOKFOR "Esc" ""
IF FOUND=0 THEN GOTO FNAME
IF FOUND=3 THEN GOTO GRAPHICS
IF FOUND=4 THEN GOTO GRAPHICS
TRANSMIT "@LANGUAGE@^M"
WAITFOR "Do you want|color" 20
IF FOUND=0 THEN GOTO FNAME
:GRAPHICS
TRANSMIT "@GRAPHICS@ Q NS^M"
:FNAME
WAITFOR "first name" 50
IF FOUND=0 THEN EXIT
TRANSMIT "@USER@^M"
LOOKFOR "(Enter)=yes? " "N^M"
WAITFOR "password|new user?" 30
LOOKFOR "correct? " ""
IF FOUND=1 THEN GOTO LOGIN
IF FOUND=2 THEN GOTO NEWUSER
GOTO COMMAND
:NEWUSER
COMMENT "@DATE@ @TIME@ New user login"
LOOKFOR "(Enter)=yes? " ""
LOOKFOR ") to continue?" ""
IF NOT SWITCH 1 THEN HELP 198
TRANSMIT "^M"
WAITFOR ")=yes?" 30
TRANSMIT "Y^M"
WAITFOR "please!)?" 30
TRANSMIT "@PASSWORD@^M"
WAITFOR "verify?" 30
TRANSMIT "@PASSWORD@^M"
TERMINAL
LOOKFOR "(Enter)=yes? " "N^M"
LOOKFOR ") to continue?" "^M"
WAITFOR "Command?"
GOTO COMMAND
:LOGIN
COMMENT "@DATE@ @TIME@ Transmitting password"
TRANSMIT "@PASSWORD@^M"
IF SCR_CALL THEN GOTO EXIT
WAITFOR "word has expired|Command?"
IF FOUND=2 THEN GOTO COMMAND
NEW_PASSWORD
SET_PASSWORD
PROMPT "Your password is now set to @PASSWORD@"
TRANSMIT "@PASSWORD@^M"
WAITFOR "to verify"
TRANSMIT "@PASSWORD@^M"
WAITFOR "Command?"
:COMMAND
TIMEOUT 60
IF SCR_MAIL THEN CALL PCB-DL.SCR
:EXIT