home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
KBCOS3.ZIP
/
COSMIC1.SEQ
< prev
next >
Wrap
Text File
|
1995-04-06
|
4KB
|
170 lines
(* WARNING: Due to bugs in KBBS versions before v2.00W, you
MUST have at least version 2.00W to run this SEQ *)
{----------------------------------------------------------}
{ ****************************************************** }
{ }
{ all the code for this program stolen }
{ from KBBS sample programs. }
{ }
{ ****************************************************** }
{----------------------------------------------------------}
DEFINE BOOLEAN:YESNO; {for asking Yes/No questions}
{CHECK FOR ANSI, abort if not}
IF GRAPHMODE=0
THEN WRITELN;
TOGGLES('No','Yes');
YESNO:=FALSE;
ASK('This Program requires ANSI. WANT IT ON? ',YESNO,5,0);
IF YESNO=FALSE
THEN EXIT(0); {exit this SEQ with RESULT=0}
ENDIF;
ENDIF;
IF YESNO=true
THEN CHANGEMODE(1);
ENDIF;
GOSUB COSMIC;
Cosmic:
MENU('Cozm');
KEY('1','ABOUT COSMIC DEBRIS MAGAZINE',ABOUT);
KEY('2','SAMPLE FANTASY STORY',fa);
KEY('3','SAMPLE SOFTWARE REVIEW',REVIEW);
KEY('4','SAMPLE SCIENCE FICTION STORY',SF);
KEY('5','SAMPLE HORROR STORY',HR);
KEY('11','TOP FIVE LIST',fl);
KEY('7','THE LATEST ISSUE',tf);
KEY('10','ASK THE WIZARD ANY QUESTION!!!',WI);
KEY('9','DOWNLOAD ORDER FORM',dl);
KEY('6','BONUS STORY',BS);
KEY('8','CREDITS',CR);
KEY!('12','BACK TO BBS',quit);
MENUPROMPT('Which story would you like to read?');
END;
ABOUT:
showfile('coz1a');
pause;
goto cosmic;
REVIEW:
SHOWFILE('coz2');
pause;
Showfile('coz23');
PAUSE;
GOTO COSMIC;
CR:
SHOWFILE('COZ1B');
PAUSE;
GOTO COSMIC;
SF:
SHOWFILE('coz21');
Showfile('coz22');
PAUSE;
SHOWFILE('COS11');
pAUSE;
TOGGLES('No','Yes');
ASK('@07@Do you wish to download this STORY?@0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'coz22.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
ENDIF;
IF YESNO=FALSE
THEN GOTO COSMIC;
ENDIF;
HR:
SHOWFILE('coz6');
pause;
Showfile('coz7');
pAUSE;
showfile('coz33');
RIPPOS(1,308);
TOGGLES('No','Yes');
ASK('@07@Do you wish to download this STORY?@0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'coz7.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
ENDIF;
if yesno=false
then goto cosmic;
endif;
FA:
SHOWFILE('coz14');
Showfile('coz15');
pause;
SHOWFILE('COZ11');
PAUSE;
TOGGLES('No','Yes');
ASK('@07@Do you wish to download this STORY?@0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'coz15.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
endif;
if yesno=false
then goto cosmic;
ENDIF;
TF:
SHOWFILE('coz3');
pause;
TOGGLES('No','Yes');
ASK('@07@Do you wish download the Cosmic Debris order form??@0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'cozo.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
ENDIF;
IF YESNO=FALSE
THEN GOTO COSMIC;
ENDIF;
fl:
showfile ('coz12');
pause;
goto cosmic;
WI:
CALLSEQ('COSMIC2');
goto cosmic;
BS:
showfile ('coz4');
pause;
showfile ('coz5');
pause;
TOGGLES('No','Yes');
ASK('@07@Do you wish to download this STORY? @0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'coz5.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
ENDIF;
IF YESNO=FALSE
THEN GOTO COSMIC;
ENDIF;
goto cosmic;
dl:
TOGGLES('No','Yes');
ASK('@07@Do you wish to download a order form?@0F@',YESNO,4,0);
IF YESNO=TRUE
Then FLAGPATH(TEXTPATH+'cozo.txt');
DOWNLOADNOW('textpath',FALSE);
GOTO COSMIC;
ENDIF;
IF YESNO=FALSE
THEN GOTO COSMIC;
ENDIF;
QUIT: