@@ -90,7 +90,7 @@ PRINT "% BBS Screen Creator Written By Russ Campbell
9090LOCATE 12 , 24
9191PRINT " % %"
9292LOCATE 13 , 24
93- PRINT " % Final Version 11 Release Candidate RC2 %"
93+ PRINT " % Final Version 13 Release Candidate RC2 %"
9494LOCATE 14 , 24
9595PRINT " % %"
9696LOCATE 15 , 24
@@ -171,11 +171,25 @@ CLS
171171PRINT
172172inputscreen1:
173173CLS
174+ PRINT " Do you wish to use pre-selected colors or use your own sets "
175+ PRINT " Of color selections: (10) color schemes can be customised."
176+
177+ PRINT " This sction is for entering your own color schemes , it is "
178+ PRINT " for selecting either Preselected or your own colors."
179+ PRINT
180+ PRINT " If you want random colors, choose [N]o as your answer."
174181PRINT
175- PRINT " Enter your own colors [Y]es or [N]o [Defaults to [Y]es : "
182+ PRINT " However if you want to enter your own colors , then enter"
183+ PRINT " N as your choice of color selection"
184+ PRINT
185+ PRINT " Do you wuish to use random colors? [Y]es or [N]o [Defaults to [N]o "
176186answer$ = INPUT $(1 )
177187answer$ = UCASE $(answer $)
178- IF answer$ = " N" THEN GOTO inputscreen
188+ IF answer$ = " N" THEN randome$ = " N"
189+ IF answer$ = " " THEN randome$ = " N"
190+ IF answer$ = " N" THEN GOTO prompts
191+ IF answer$ = " Y" THEN randome$ = " Y" : GOTO inputscreen
192+ GOTO inputscreen1
179193prompts:
180194CLS
181195PRINT
@@ -185,7 +199,6 @@ PRINT "of loading a saved file or creating a totally new filename. You do not ha
185199PRINT " to write over any existing files, and the program will be fool proof."
186200PRINT
187201PRINT " Load or [C]reate User Data file or [X]xit Program"
188- PRINT " [No extenders Please !!!!!! ] : "
189202answer$ = INPUT $(1 )
190203database$ = UCASE $(answer $)
191204IF database$ = " L" THEN GOTO filen
@@ -220,14 +233,16 @@ INPUT "Brackets Foreground [From 0 to 15] : ", usercolorentry_t2
220233PRINT
221234PRINT
222235COLOR usercolorentry_t2, usercolorentry_g2
223- PRINT " [A]" ;: COLOR 7 , 0 : COLOR 7 , 0
224- PRINT
236+ PRINT " [" ;: COLOR 7 , 0 : COLOR 7 , 0
237+ PRINT " A" ;
238+ COLOR usercolorentry_t2, usercolorentry_g2
239+ PRINT " ]" ;: COLOR 7 , 0 : COLOR 7 , 0
225240PRINT
226241PRINT " Is This acceptable [Y]es or [N]o : "
227242answer$ = INPUT $(1 )
228243answer$ = UCASE $(answer $)
229244IF answer$ = " N" THEN GOTO back2
230-
245+ rand:
231246CLS
232247PRINT
233248PRINT " Do you wish to have multi colors randomly chosen for everything else"
@@ -237,7 +252,10 @@ PRINT
237252PRINT " Choose either [R]andom or [U]ser Set Patterns : "
238253answer$ = INPUT $(1 )
239254answer$ = UCASE $(answer $)
240- IF answer$ = " R" THEN GOTO inputscreen
255+ IF answer$ = " R" THEN random $ = " Y" : GOTO inputscreen
256+ IF answer$ = " U" THEN randome$ = " N" : GOTO combos
257+ GOTO rand
258+ combos:
241259CLS
242260PRINT
243261PRINT " Please enter 8 different color combinations for the display , be creative : "
@@ -251,14 +269,13 @@ DO WHILE INKEY$ = ""
251269LOOP
252270GOSUB enteryourbackground
253271GOSUB whatyouget
254- GOSUB randomscreen
272+ GOSUB randomchoice
255273GOSUB create
256274
257275PRINT " Press any key to continue...."
258276DO WHILE INKEY $ = " "
259277LOOP
260278inputscreen:
261-
262279CLEAR
263280CLS
264281PRINT " Demo files that are available are: "
@@ -288,13 +305,13 @@ displays:
288305CLS
289306PRINT " Output display [A] Ansi [B] Wildcat BBS [C] PCboard BBS "
290307PRINT " Output Display [D] Syncronet BBS [E] Mystic BBS : " ' which BBS display the user wants
291- display $ = INPUT $(1 )
292- display $ = UCASE $(display $)
293- IF display $ = " A" THEN display = " ansi" : GOTO menu
294- IF display $ = " B" THEN display = " wc8" : GOTO menu ' select display coding by what the user types in
295- IF display $ = " C" THEN display = " pcb" : GOTO menu
296- IF display $ = " D" THEN display = " syn" : GOTO menu
297- IF display $ = " E" THEN display = " mys" : GOTO menu
308+ displaychoice $ = INPUT $(1 )
309+ displaychoice $ = UCASE $(displaychoice $)
310+ IF displaychoice $ = " A" THEN display = " ansi" : GOTO menu
311+ IF displaychoice $ = " B" THEN display = " wc8" : GOTO menu ' select display coding by what the user types in
312+ IF displaychoice $ = " C" THEN display = " pcb" : GOTO menu
313+ IF displaychoice $ = " D" THEN display = " syn" : GOTO menu
314+ IF displaychoice $ = " E" THEN display = " mys" : GOTO menu
298315GOTO displays
299316startit:
300317
@@ -469,7 +486,7 @@ IF display = "wc8" THEN
469486 CLS
470487 PRINT #2 , " @0" + " 0@" + " @CLS@"
471488 ' set background to black
472- COLOR 0 , 0
489+ COLOR 7 , 0
473490END IF
474491IF display = " pcb" THEN
475492 ' clear screen
@@ -481,51 +498,68 @@ IF display = "syn" THEN
481498 ' clear screen
482499 CLS
483500 ' set background to black
484- COLOR 0 , 0
501+ COLOR 7 , 0
485502END IF
486503IF display = " mys" THEN
487504 ' clear screen
488505 CLS
489506 ' set background to black
490- COLOR 0 , 0
507+ COLOR 7 , 0
491508END IF
492509DO UNTIL EOF (1 )
493510 LINE INPUT #1 , lnumber
511+ IF randome$ = " Y" THEN GOSUB trulyrandom
512+ IF randome$ = " N" THEN GOSUB randomchoice
513+
494514 FOR i = 1 TO LEN (lnumber )
495- b = MID $(lnumber , i , 1 ) ' Calculates the ascii value of every character in the line
496515
516+ b = MID $(lnumber , i , 1 ) ' Calculates the ascii value of every character in the line
497517 IF display = " wc8" THEN
498518 GOSUB specialcharacters3
499519 GOSUB specialcharacters2
500- GOSUB displ
501520 IF flag$ = " Y1" THEN
502- colorchange = 1
503- ELSEIF flag$ = " Y2" THEN
504521 GOSUB colorchange
505- colorchange = colorchange + 1
522+ COLOR t1, g1
523+ GOSUB displ
524+ IF colorchanges = 1 THEN
525+ PRINT #2 , backgroundcolorbbs + foregroundcolorbbs + b ;
526+ PRINT b;
527+ ELSEIF colorchanges = 0 THEN
528+ PRINT #2 , b ;
529+ PRINT b;
530+ colorchanges = 0
531+ END IF
506532 END IF
507- IF colorchange > 0 THEN
508- PRINT #2 , backgroundcoloransi + foregroundcoloransi + b ;
509- PRINT b;
510- colorchange = 0
533+ IF flag$ = " Y2" THEN
534+ GOSUB colorchange
535+ COLOR t1, g1
536+ GOSUB displ
537+ IF colorchanges = 1 THEN
538+ PRINT #2 , backgroundcolorbbs + foregroundcolorbbs + b ;
539+ PRINT b;
540+ ELSEIF colorchanges = 0 THEN
541+ PRINT #2 , b ;
542+ PRINT b;
543+ colorchanges = 0
544+ END IF
545+ END IF
546+ IF flag$ = " Y3" THEN
547+ GOSUB colorchange
548+ COLOR t, g
549+ IF colorchanges = 1 THEN
550+ PRINT #2 , backgroundcolorbbs + foregroundcolorbbs + b ;
551+ PRINT b;
552+ colorchanges = 0
553+ END IF
554+ IF colorchanges = 0 THEN
555+ PRINT #2 , b ;
556+ PRINT b;
557+ END IF
511558 END IF
512559 END IF
513560 NEXT i
514561 PRINT #2 , " "
515562 PRINT
516- IF flag$ = " Y1" THEN
517- colorchange_y = 1
518- g1 = usercolorentry_g1
519- t1 = usercolorentry_t1
520- x = y
521- COLOR y, x
522- ELSEIF flag$ = " Y2" THEN
523- colorchange_y = 1
524- g2 = usercolorentry_g2
525- t2 = usercolorentry_t2
526- x = y
527- COLOR y, x
528- END IF
529563LOOP
530564fini:
531565closeit:
@@ -577,7 +611,7 @@ PRINT "on Facebook at many of the groups"
577611PRINT " I am in , or email me at"
578612PRINT " rcamp48@rogers.com"
579613PRINT
580- PRINT " Thank you for using BBS Menu Color Scheme Creator 11 RC2"
614+ PRINT " Thank you for using BBS Menu Color Scheme Creator 13 RC2"
581615PRINT
582616END
583617pick:
@@ -773,29 +807,21 @@ IF b = CHR$(94) OR b = CHR$(43) OR b = CHR$(37) OR b = CHR$(126) OR b = CHR$(45)
773807 flag$ = " Y1"
774808ELSEIF b = CHR $(91 ) OR b = CHR $(93 ) THEN
775809 flag$ = " Y2"
810+ ELSE
811+ flag$ = " Y3"
776812END IF
777813RETURN
778814colorchange:
779815IF flag$ = " Y1" THEN
780816 g1 = usercolorentry_g1
781817 t1 = usercolorentry_t1
782- x = g1
783- y = t1
784- COLOR y1, x1
785- colorchanges = 1
786818ELSEIF flag$ = " Y2" THEN
787819 g2 = usercolorentry_g2
788820 t2 = usercolorentry_t2
789-
790- x = g2
791- y = t2
792- ELSE
793- g = x
794- t = y
795- COLOR y, x
796- colorchanges = 1
821+ ELSEIF flag$ = " Y3" THEN
822+ g = usercolorentry_g
823+ t = usercolorentry_t
797824END IF
798-
799825RETURN
800826
801827
@@ -914,7 +940,7 @@ GOSUB background
914940INPUT " Color # 6 Background [From 0 to 7] : " , color6background
915941INPUT " Color # 6 Foreground [From 0 to 15] : " , color6foreground
916942PRINT
917- COLOR color6foreground, color6foreground
943+ COLOR color6foreground, color6background
918944PRINT " [------------------]" ;: COLOR 7 , 0 : COLOR 7 , 0
919945PRINT
920946PRINT " Is This acceptable [Y]es or [N]o : "
@@ -1007,42 +1033,59 @@ answer$ = UCASE$(answer$)
10071033IF answer$ = " N" THEN GOTO inputscreen1
10081034GOSUB create
10091035RETURN
1010- randomscreen :
1036+ randomchoice :
10111037RANDOMIZE TIMER
10121038randoms = INT (RND (1 ) * 7 ) + 1
10131039IF randoms = 1 THEN
1014- g = color1background
1015- t = color1foreground
1040+ usercolorentry_g = color1background
1041+ usercolorentry_t = color1foreground
10161042ELSEIF randoms = 2 THEN
1017- g = color2background
1018- t = color2foreground
1043+ usercolorentry_g = color2background
1044+ usercolorentry_t = color2foreground
10191045ELSEIF randoms = 3 THEN
1020- g = color3background
1021- t = color3foreground
1046+ usercolorentry_g = color3background
1047+ usercolorentry_t = color3foreground
10221048ELSEIF randoms = 4 THEN
1023- g = color4background
1024- t = color4foreground
1049+ usercolorentry_g = color4background
1050+ usercolorentry_t = color4foreground
10251051ELSEIF randoms = 5 THEN
1026- g = color5background
1027- t = color5foreground
1052+ usercolorentry_g = color5background
1053+ usercolorentry_t = color5foreground
10281054ELSEIF randoms = 6 THEN
1029- g = color6background
1030- t = color6foreground
1055+ usercolorentry_g = color6background
1056+ usercolorentry_t = color6foreground
10311057ELSEIF randoms = 7 THEN
1032- g = color7background
1033- t = color7foreground
1058+ usercolorentry_g = color7background
1059+ usercolorentry_t = color7foreground
10341060ELSEIF randoms = 0 THEN
1035- g = color8background
1036- t = color8foreground
1061+ usercolorentry_g = color8background
1062+ usercolorentry_t = color8foreground
10371063END IF
10381064RETURN
1065+ trulyrandom:
1066+ g1 = INT (RND (1 ) * 7 ) + 1
1067+ t1 = INT (RND (1 ) * 15 ) + 1
1068+ g2 = INT (RND (1 ) * 7 ) + 1
1069+ t2 = INT (RND (1 ) * 15 ) + 1
1070+ g = INT (RND (1 ) * 7 ) + 1
1071+ t = INT (RND (1 ) * 15 ) + 1F
1072+ IF g = t THEN GOTO trulyrandom
1073+ IF g1 = t1then GOTO trulyrandom
1074+ IF g2 = t2 THEN GOTO trulyrandom
1075+ IF g = g1 OR g = g2 THEN GOTO trulyrandom
1076+ IF t = t1 OR t = t2 THEN GOTO trulyrandom
1077+ RETURN
10391078create:
10401079CLS
10411080PRINT
10421081PRINT " Do you wish to save a configuration file for later on [Y] or [N] : "
1043- answer$ = UCASE $(answer $)
1082+ answer = UCASE $(answer $)
10441083IF answer$ = " N" THEN GOTO inputscreen
10451084PRINT
1085+ PRINT " Enter Data for program."
1086+ PRINT
1087+ INPUT " Enter Filename [No extender : " , files $
1088+ PRINT
10461089PRINT " Saving data............"
10471090PRINT
10481091OPEN filename$ FOR OUTPUT AS #4
0 commit comments