home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-05-28 | 32.5 KB | 1,066 lines |
- /* The MatchMaker by Patrick Baker 12-11-89 */
- /* Revised on 12-12-89 This is version 1.2 */
- /* C-Net conversion and mods by Ronald Kushner - C-Net Version 1.0 */
- options results
-
- signal on syntax
- signal on ioerr
-
- Getuser 19
- CLS = d2c(result)
- TOP = 'Life In Hell MatchMaker v 1.0'
- TOT = 0
- direct = 'Pfiles:match/'
- GETUSER 41
- REALNAME = RESULT
- getuser 40
- USERID = RESULT
- getuser 1
- handle = result
- call EP
-
- EP:
- Transmit CLS
- Transmit TOP
- Transmit ''
-
- if nocarrier() then call BEXIT
- if alias = '' then call BEXIT
- if exists(direct'users/Total') then do
- call open file, (direct'users/Total'), 'R'
- tot = readln(file)
- call close file
- end
- if ~exists(direct'users/Total') then do
- call open file, (direct'users/Total'), 'W'
- call close file
- end
- if exists(direct'users/'REALNAME) then do
- call open file, (direct'users/'REALNAME), 'R'
- USERID = readln(file)
- alias = readln(file)
- handle = readln(file)
- call close file
- end
- if ~exists(direct'users/'Realname) then do
- Transmit CLS
- Transmit 'Your name is not found in the userlog!'
- Transmit ''
- Transmit 'You must first answer a few questions to register!'
- Query 'Do you wish to register(Y/n)? '
- ans = result
- if NoCarrier() then call BEXIT
- if ans = 'N' | ans = 'n' then call BEXIT
- /* Register */
- Transmit CLS
- nameagain:
- call REG
- if alias = '' then call EP
- Transmit CLS
- x = 0
- if exists(direct'users/people') then do
- call open files, (direct'users/people'),'R'
- do until EOF(files)
- temp = readln(files)
- if temp = alias then x = 1
- end
- end
- if x = 1 then do
- transmit '\ca\n2Someone is useing that handle, try something else!\n2\q1'
- call nameagain
- end
-
- Transmit 'Alias = 'alias
- Transmit ''
- Query 'Correct(Y/N)? '
- ans = result
- if nocarrier() then call BEXIT
- if ans = '' then call BEXIT
- IF ans = 'N' | ans = 'n' then do
- call REG
- Transmit CLS
- Transmit 'You just entered:'
- Transmit 'Alias = 'alias
- Transmit ''
- Transmit 'If it is incorrect, quit and contact the SysOp!'
- end
- Transmit ''
- Transmit CLS
-
- Transmit TOP
- call QUEST
-
- QUEST:
- /* ANSWER QUESTIONARE */
- Transmit 'There are currently only EIGHT questions due to testing the program!'
- Transmit 'Please answer these CORRECTLY!'
- Transmit ''
- Transmit 'Question #1'
- Query 'Gender (1=Male/2=Female)? '
- gender = result
- if gender = '' then call BEXIT
- Transmit CLS
- Transmit ''
- Transmit 'Question #2'
- Transmit 'What is your sexual preference: '
- Transmit ' 1) Heterosexual'
- Transmit ' 2) Homosexual'
- Transmit ' 3) BiSexual'
- Transmit ' 4) TrySexual (Ill try anything!)'
- Query '1-4> '
- pref = result
- if pref = '' then call BEXIT
- Transmit CLS
- Transmit ''
- Transmit 'Question #3'
- Transmit 'What is your weight:'
- Transmit ' 1) 90-100 '
- Transmit ' 2) 101-120 '
- Transmit ' 3) 121-130 '
- Transmit ' 4) 131-150 '
- Transmit ' 5) 151-180 '
- Transmit ' 6) 181-210 '
- Transmit ' 7) over 210 '
- Query '1-7> '
- weight = result
- if weight = '' then call BEXIT
- Transmit CLS
- Transmit 'Question #4'
- Transmit ''
- Transmit 'What weight do you prefer to match with: '
- Transmit ' 1) 90-100 '
- Transmit ' 2) 101-120 '
- Transmit ' 3) 121-130 '
- Transmit ' 4) 131-150 '
- Transmit ' 5) 151-180 '
- Transmit ' 6) 181-210 '
- Transmit ' 7) over 210 '
- Query '1-7> '
- weightpref = result
- if weightpref = '' then call BEXIT
- Transmit CLS
- Transmit ''
- Transmit 'Question #5'
- Transmit 'Eye color:'
- Transmit ' 1) Blue'
- Transmit ' 2) Grey'
- Transmit ' 3) Brown'
- Transmit ' 4) Green'
- Transmit ' 5) Hazel'
- Transmit ' 6) Black'
- Query '1-6> '
- eye = result
- if eye = '' then call BEXIT
- Transmit CLS
- Transmit ''
- Transmit 'Question #6'
- Transmit 'Height: '
- Transmit ' 1) 4 ft - 4.5 ft'
- Transmit ' 2) 4.6 - 5.0 ft'
- Transmit ' 3) 5.1 - 5.5 ft'
- Transmit ' 4) 5.6 - 5.8 ft'
- Transmit ' 5) 5.9 - 5.11 ft'
- Tramsmit ' 6) 6.0 - 6.5 ft'
- Transmit ' 7) 6.6 - up'
- Transmit '(period denotes a quote for feet)'
- Query '1-7> '
- height = result
- if height = '' then call BEXIT
- Transmit CLS
- Transmit 'Question #7'
- Transmit 'Age: '
- Transmit ' 1) 13-15'
- Transmit ' 2) 16-18'
- Transmit ' 3) 19-25'
- Transmit ' 4) 26-30'
- Transmit ' 5) 31-35'
- Transmit ' 6) 36-40'
- Transmit ' 7) 41-45'
- Transmit ' 8) 46-50'
- Transmit ' 9) 51-60'
- Transmit ' 10) Other'
- Query '1-10> '
- age = result
- if age = '' then call BEXIT
- Transmit CLS
- Transmit 'Question #8'
- Transmit 'What age would you like to match with: '
- Transmit ' 1) 13-15'
- Transmit ' 2) 16-18'
- Transmit ' 3) 19-25'
- Transmit ' 4) 26-30'
- Transmit ' 5) 31-35'
- Transmit ' 6) 36-40'
- Transmit ' 7) 41-45'
- Transmit ' 8) 46-50'
- Transmit ' 9) 51-60'
- Transmit ' 10) Other'
- Query '1-10> '
- agepref = result
- if agepref = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #9'
- Transmit 'What kind of music do you like?'
- Transmit ' 1) Rock and Roll'
- Transmit ' 2) Punk/New Wave'
- Transmit ' 3) Heavy Metal dude!'
- Transmit ' 4) Classical'
- Transmit ' 5) Country'
- Transmit ' 6) Opera'
- Transmit ' 7) Soft Rock'
- Transmit ' 8) Other'
- Query '1-8> '
- music = result
- if music = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #10'
- Transmit 'What are your hobbies?'
- Transmit ' 1) Sex'
- Transmit ' 2) Sports or exercise'
- Transmit ' 3) Parties'
- Transmit ' 4) Watching TV'
- Transmit ' 5) Computers'
- Transmit ' 6) Reading'
- Transmit ' 7) All of the Above'
- Transmit ' 8) Other'
- Query '1-8> '
- hobby = result
- if hobby = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #11'
- Transmit 'How much do you make a year?'
- Transmit ' 1) under 5000'
- Transmit ' 2) 5001-10000'
- Transmit ' 3) 10001-15000'
- Transmit ' 4) 15001-25000'
- Transmit ' 5) 25001-40000'
- Transmit ' 6) 40001-60000'
- Transmit ' 7) 60001-up'
- Query '1-7> '
- salary = result
- if music = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #12'
- Transmit 'What do you do on a first date?'
- Transmit ' 1) go to a movie'
- Transmit ' 2) go out to dinner'
- Transmit ' 3) go dancing/bars'
- Transmit ' 4) go to a play/concert'
- Transmit ' 5) I hit the MOTEL ROOM with my date'
- Transmit ' 6) I go and meet the mother'
- Transmit ' 7) I have never been on a date'
- Transmit ' 8) Other'
- Query '1-8> '
- firstdate = result
- if music = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #13'
- Transmit 'Do you believe in womens lib?'
- Transmit ' 1) YES'
- Transmit ' 2) No'
- Transmit ' 3) No opinion'
- Query '1-3> '
- womenslib = result
- if music = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #14'
- Transmit 'Are you:'
- Transmit ' 1) Democrat'
- Transmit ' 2) Republican'
- Transmit ' 3) Communist'
- Transmit ' 4) Socialist'
- Transmit ' 5) Liberal'
- Transmit ' 6) Other'
- Query '1-6> '
- Politics = result
- if politics = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #15'
- Transmit 'Do you believe in Racial equality?'
- Transmit ' 1) Heck YES!'
- Transmit ' 2) No.'
- Transmit ' 3) No Opinion'
- Query '1-3> '
- RACIALEQUAL = result
- if RACIALEQUAL = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #16'
- Transmit 'Would you date someone of another RACE?'
- Transmit ' 1) Yes!'
- Transmit ' 2) No.'
- Transmit ' 3) Depends'
- Query '1-3> '
- RACEPREF = result
- if RACEPREF = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #17'
- Transmit 'What race are you?'
- Transmit ' 1) Hispanic'
- Transmit ' 2) Asian'
- Transmit ' 3) African American'
- Transmit ' 4) Native American'
- Transmit ' 5) Caucasion'
- Transmit ' 6) NewComer'
- Transmit ' 7) Other'
- Query '1-7> '
- race = result
- if race = '' then call BEXIT
- if nocarrier() then call BEXIT
-
- Transmit CLS
- Transmit 'Question #18'
- Transmit 'Do you believe in abortion?'
- Transmit ' 1) Yes'
- Transmit ' 2) No '
- Transmit ' 3) only in certain circumstances.'
- Query '1-3> '
- abort = result
- if abort = '' then call BEXIT
-
- Transmit CLS
- QUERY 'Was everything entered correctly(Y/N)? '
- ans = result
- if ans = '' then call BEXIT
- if ans = 'n' | ans = 'N' then call QUEST
- Transmit CLS
- Transmit 'Writing questionare.....'
- call open file, (direct'users/'REALNAME),'W'
- CALL WRITELN FILE, USERID
- call writeln file, ALIAS
- call writeln file, HANDLE
- call writeln file, gender
- call writeln file, pref
- call writeln file, weight
- call writeln file, weightpref
- call writeln file, eye
- call writeln file, height
- call writeln file, AGE
- call writeln file, AGEPREF
-
- call writeln file, MUSIC
- call writeln file, HOBBY
- call writeln file, SALARY
- call writeln file, FIRSTDATE
- call writeln file, WOMENSLIB
- call writeln file, POLITICS
- call writeln file, RACIALEQUAL
- call writeln file, RACEPREF
- call writeln file, RACE
- call writeln file, ABORT
- CALl close file
-
-
- /* WRITE STATS to TOTAL, PEOPLE, and CREATE FILE */
- /* if exists(direct'users/Total') then do */
- call open file, (direct'users/Total'),'W'
- TOT = TOT + 1
- call writeln file, TOT
- call close file
-
- if exists(direct'users/People') then do
- call open file, (direct'users/People'),'A'
- call writeln file, alias
- call close file
- end
- if ~exists(direct'users/People') then do
- call open file, (direct'users/People'),'W'
- call writeln file, alias
- call close file
- end
- if exists(direct'users/People.serial') then do
- call open file, (direct'users/People.serial'),'A'
- call writeln file, realname
- call close file
- end
- if ~exists(direct'users/People.serial') then do
- call open file, (direct'users/People.serial'),'W'
- call writeln file, realname
- call close file
- end
- call MAIN
- end
-
-
- MAIN:
- Transmit CLS
- Transmit TOP
- Transmit ''
- Transmit ' 1) Make your Match'
- Transmit ' 2) View your Stats'
- Transmit ' 3) View others Stats'
- Transmit ' 4) Change your Stats *'
- Transmit ' 5) User Listing'
- Transmit ' 6) Send a Message *'
- Transmit ' To contact another user, please leave feedback to the sysop and'
- transmit ' he will notify that user you are interested in them.'
- Transmit ' (* = NOT ACTIVE YET!)'
- Transmit ' '
- Transmit ' Q)uit to BBS'
- Transmit ''
- QUERY '> '
- ans = result
- if nocarrier() then call BEXIT
- if ans = '###PANIC' then call BEXIT
- if ans = '' then call MAIN
- if ans = 'Q' | ans = 'q' then call BEXIT
- if ans = '1' then call MATCH
- if ans = '2' then call YOURSTATS
- if ans = '3' then call OTHERSTATS
- if ans = '5' then call USERLIST
- if ans = 'M' then call Letter
- if nocarrier() then call BEXIT
- call MAIN
-
- MATCH:
- call open file1, (direct'users/Total'), 'R'
- tot = readln(file1)
- call close file1
- Transmit CLS
- Transmit TOP
- call open file, (direct'users/'realname),'R'
- UserID = READLN(FILE)
- alias1 = readln(file)
- Handle = readln(file)
- gender = readln(file)
- pref = readln(file)
- weight = readln(file)
- weightpref = readln(file)
- eye = readln(file)
- height = readln(file)
- age = readln(file)
- agepref = readln(file)
- MUSIC = readln(file)
- HOBBY = readln(file)
- SALARY = readln(file)
- FIRSTDATE = readln(file)
- WOMENSLIB = readln(file)
- POLITICS = readln(file)
- RACIALEQUAL = readln(file)
- RACEPREF = readln(file)
- RACE = readln(file)
- ABORT = readln(file)
- call close file
- Transmit 'Matching...'
- call open file, (direct'users/people.serial'),'R'
- call open files, (direct'users/people'),'R'
- do j = 1 to tot
- matchid.j = readln(file)
- matchname.j = readln(files)
- end
- do i = 1 to tot
- call open file2, (direct'users/'matchid.i), 'R'
- othername.i = readln(file2)
- otheralias.i = readln(file2)
- otherpass.i = readln(file2)
- othergender.i = readln(file2)
- otherpref.i = readln(file2)
- otherweight.i = readln(file2)
- otherweightpref.i = readln(file2)
- othereye.i = readln(file2)
- otherheight.i = readln(file2)
- otherage.i = readln(file2)
- otheragepref.i = readln(file2)
- otherMUSIC = readln(file2)
- otherHOBBY = readln(file2)
- otherSALARY = readln(file2)
- otherFIRSTDATE = readln(file2)
- otherWOMENSLIB = readln(file2)
- otherPOLITICS = readln(file2)
- otherRACIALEQUAL = readln(file2)
- otherRACEPREF = readln(file2)
- otherRACE = readln(file2)
- otherABORT = readln(file2)
- call close file2
- end
- call close file
- call close files
- ct = 0
- Transmit CLS
- Transmit 'Name % Gender'
- Transmit ''
- matches=0
- do i = 1 to tot
- if othergender.i = 1 then AGEN='MALE'
- if othergender.i = 2 then AGEN='FEMALE'
- if otherpref.i = pref then do
- ct=ct+1
- end
- if otherweight.i = weightpref then ct = ct + 1
- if otherweightpref.i = weight then ct = ct + 1
- if othereye.i = eye then ct = ct + 1
- if gender = 1 then do
- if height > otherheight.i then ct = ct + 1
- end
- if gender = 2 then do
- if height < otherheight.i then ct = ct + 1
- end
- if age = otheragepref.i then ct = ct + 1
- if otherage.i = agepref then ct = ct + 1
-
- if otherpref.i = pref then do
- if pref = 4 | pref = 3 then do
- percentage = (ct/7)* 100
- percentage = left(percentage,4)
- matchname.i = left(matchname.i,20)
- gen = left(gen,10)
- Transmit matchname.i' 'percentage'% 'Agen
- matches=matches+1
- ct=0
- end
- if pref = 2 then do
- if othergender.i = gender then do
- percentage = (ct/7)* 100
- percentage = left(percentage,4)
- matchname.i = left(matchname.i,20)
- gen = left(gen,10)
- Transmit matchname.i' 'percentage'% 'Agen
- matches=matches+1
- ct=0
- end
- end
- if pref = 1 then do
- if otherpref.i = 1 then do
- if othergender.i ~= gender then do
- percentage = (ct/7)* 100
- percentage = left(percentage,4)
- matchname.i = left(matchname.i,20)
- gen = left(gen,10)
- Transmit matchname.i' 'percentage'% 'Agen
- matches=matches+1
- ct=0
- end
- end
- end
- ct=0
- end
- end
-
- Transmit ''
- if matches = 0 then do
- Transmit 'No Matches! Try later!'
- end
- Query 'Hit RETURN'
- call MAIN
-
-
- USERLIST:
- Transmit CLS
- Transmit TOP
- Transmit ''
- Transmit 'MatchMaker Userlist: '
- Transmit ''
- count = 0
- call open file, (direct'users/People'), 'R'
- do until EOF(File)
- count = count + 1
- name = readln(file)
- Transmit Name
- if count = 20 then do
- Transmit ''
- Query 'Continue(Y/N)? '
- ans = result
- if ans = 'N' | ans = 'n' then call USERLISTEND
- Transmit CLS
- count = 0
- end
- end
- call USERLISTEND
-
- USERLISTEND:
- call close file
- Transmit ''
- Query 'Hit RETURN: '
- call MAIN
-
- OTHERSTATS:
- Transmit CLS
- Transmit TOP
- Query 'View who? '
- mailname = result
- if mailname = '' then call main
- call open files, (direct'users/people'),'R'
- call open file, (direct'users/people.serial'),'R'
- do j = 1 to tot
- matchname.j = readln(files)
- matchid.j = readln(file)
- end
- call close files
- call close file
- do j = 1 to tot
- if mailname = matchname.j then call gusse
- end
- transmit 'User not found!'
- call main
- gusse:
- name = matchid.j
- if exists(direct'users/'NAME) then do
- call open file, (direct'users/'NAME), 'R'
- OTHERID = READLN(FILE)
- otheralias = readln(file)
- otherhandle = readln(file)
- othergender = readln(file)
- otherpref = readln(file)
- otherweight = readln(file)
- otherweightpref = readln(file)
- othereye = readln(file)
- otherheight = readln(file)
- otherage = readln(file)
- otheragepref = readln(file)
- otherMUSIC = readln(file)
- otherHOBBY = readln(file)
- otherSALARY = readln(file)
- otherFIRSTDATE = readln(file)
- otherWOMENSLIB = readln(file)
- otherPOLITICS = readln(file)
- otherRACIALEQUAL = readln(file)
- otherRACEPREF = readln(file)
- otherRACE = readln(file)
- otherABORT = readln(file)
- call close file
-
- if othermusic = 1 then othermusic = 'Rock and Roll'
- if othermusic = 2 then othermusic = 'Punk/New Wave'
- if othermusic = 3 then othermusic = 'Heavy Metal dude!'
- if othermusic = 4 then othermusic = 'Classical'
- if othermusic = 5 then othermusic = 'Country'
- if othermusic = 6 then othermusic = 'Opera'
- if othermusic = 7 then othermusic = 'Soft Rock'
- if othermusic = 8 then othermusic = 'Other'
-
- if otherhobby = 1 then otherhobby = 'Sex'
- if otherhobby = 2 then otherhobby = 'Sports or exercise'
- if otherhobby = 3 then otherhobby = 'Parties!!'
- if otherhobby = 4 then otherhobby = 'Watching TV'
- if otherhobby = 5 then otherhobby = 'Computers'
- if otherhobby = 6 then otherhobby = 'Reading'
- if otherhobby = 7 then otherhobby = 'All of the above'
- if otherhobby = 8 then otherhobby = 'Other'
-
- if othersalary = 1 then othersalary = 'under 5000'
- if othersalary = 2 then othersalary = '5001-10000'
- if othersalary = 3 then othersalary = '10001-15000'
- if othersalary = 4 then othersalary = '15001-25000'
- if othersalary = 5 then othersalary = '25001-40000'
- if othersalary = 6 then othersalary = '40001-60000'
- if othersalary = 7 then othersalary = '60001-up'
-
- if otherfirstdate = 1 then otherfirstdate = 'go to a movie'
- if otherfirstdate = 2 then otherfirstdate = 'go out to dinner'
- if otherfirstdate = 3 then otherfirstdate = 'go dancing/bars'
- if otherfirstdate = 4 then otherfirstdate = 'go to a play/concert'
- if otherfirstdate = 5 then otherfirstdate = 'I hit the MOTEL ROOM with my date'
- if otherfirstdate = 6 then otherfirstdate = 'I go and meet the mother'
- if otherfirstdate = 7 then otherfirstdate = 'I have never been on a date'
- if otherfirstdate = 8 then otherfirstdate = 'Other'
-
- if otherwomenslib = 1 then otherwomenslib = 'YES'
- if otherwomenslib = 2 then otherwomenslib = 'No'
- if otherwomenslib = 3 then otherwomenslib = 'No opinion'
-
- if otherpolitics = 1 then otherpolitics = 'Democrat'
- if otherpolitics = 2 then otherpolitics = 'Republican'
- if otherpolitics = 3 then otherpolitics = 'Communist'
- if otherpolitics = 4 then otherpolitics = 'Socialist'
- if otherpolitics = 5 then otherpolitics = 'Liberal'
- if otherpolitics = 6 then otherpolitics = 'Other'
-
- if otherRacialequal = 1 then otherRacialequal = 'Heck YES!'
- if otherRacialequal = 2 then otherRacialequal = 'No.'
- if otherRacialequal = 3 then otherRacialequal = 'No Opinion'
-
- if otherracepref = 1 then otherracepref = 'Yes!'
- if otherracepref = 2 then otherracepref = 'No.'
- if otherracepref = 3 then otherracepref = 'Depends'
-
- if otherRACE = 1 then otherrace = 'Hispanic'
- if otherRACE = 2 then otherrace = 'Asian'
- if otherRACE = 3 then otherrace = 'African American'
- if otherRACE = 4 then otherrace = 'Native American'
- if otherRACE = 5 then otherrace = 'Caucasion'
- if otherRACE = 6 then otherrace = 'Newcomer'
- if otherRACE = 7 then otherrace = 'Other'
-
- if otherabort = 1 then otherabort = 'Yes'
- if otherabort = 2 then otherabort = 'No'
- if otherabort = 3 then otherabort = 'only in certain circumstances'
-
-
-
-
- /* OLD QUESTIONS */
- if othergender = 1 then othergender = 'Male'
- if othergender = 2 then othergender = 'Female'
-
- if otherpref = 1 then otherpref = 'HeteroSexual'
- if otherpref = 2 then otherpref = 'HomoSexual'
- if otherpref = 3 then otherpref = 'BiSexual'
- if otherpref = 4 then otherpref = 'TrySexual'
-
- if otherweight = 1 then otherweight = '90-100'
- if otherweight = 2 then otherweight = '101-120'
- if otherweight = 3 then otherweight = '121-130'
- if otherweight = 4 then otherweight = '131-150'
- if otherweight = 5 then otherweight = '151-180'
- if otherweight = 6 then otherweight = '181-210'
- if otherweight = 7 then otherweight = 'over 210'
-
- if otherweightpref = 1 then otherweightpref = '90-100'
- if otherweightpref = 2 then otherweightpref = '101-120'
- if otherweightpref = 3 then otherweightpref = '121-130'
- if otherweightpref = 4 then otherweightpref = '131-150'
- if otherweightpref = 5 then otherweightpref = '151-180'
- if otherweightpref = 6 then otherweightpref = '181-210'
- if otherweightpref = 7 then otherweightpref = 'over 210'
-
- if othereye = 1 then othereye = 'Blue'
- if othereye = 2 then othereye = 'Grey'
- if othereye = 3 then othereye = 'Brown'
- if othereye = 4 then othereye = 'Green'
- if othereye = 5 then othereye = 'Hazel'
- if othereye = 6 then othereye = 'Black'
-
- if otherheight = 1 then otherheight = '4ft-4.5ft'
- if otherheight = 2 then otherheight = '4.6ft-5ft'
- if otherheight = 3 then otherheight = '5.1ft-5.5ft'
- if otherheight = 4 then otherheight = '5.6ft-5.8ft'
- if otherheight = 5 then otherheight = '5.9ft-5.11ft'
- if otherheight = 6 then otherheight = '6ft-6.5ft'
- if otherheight = 7 then otherheight = '6.6ft-UP'
-
- if otherage = 1 then otherage = '13-15'
- if otherage = 2 then otherage = '16-18'
- if otherage = 3 then otherage = '19-25'
- if otherage = 4 then otherage = '26-30'
- if otherage = 5 then otherage = '31-35'
- if otherage = 6 then otherage = '36-40'
- if otherage = 7 then otherage = '41-45'
- if otherage = 8 then otherage = '46-50'
- if otherage = 9 then otherage = '51-60'
- if otherage = 10 then otherage = 'Other'
-
- if otheragepref = 1 then otheragepref = '13-15'
- if otheragepref = 2 then otheragepref = '16-18'
- if otheragepref = 3 then otheragepref = '19-25'
- if otheragepref = 4 then otheragepref = '26-30'
- if otheragepref = 5 then otheragepref = '31-35'
- if otheragepref = 6 then otheragepref = '36-40'
- if otheragepref = 7 then otheragepref = '41-45'
- if otheragepref = 8 then otheragepref = '46-50'
- if otheragepref = 9 then otheragepref = '51-60'
- if otheragepref = 10 then otheragepref = 'Other'
-
- Transmit ''
- Transmit 'Alias: 'otheralias
- Transmit 'Gender: 'othergender
- Transmit 'Sex Pref: 'otherpref
- Transmit 'Weight: 'otherweight
- Transmit 'Weight Pref: 'otherweightpref
- Transmit 'Eye color: 'othereye
- Transmit 'Height: 'otherheight
- Transmit 'Age: 'otherage
- Transmit 'Age Pref: 'otheragepref
- Transmit 'Music Pref: 'otherMUSIC
- Transmit 'Hobby: 'otherHOBBY
- Transmit 'Salary: $'otherSALARY
- Transmit ''
- Transmit 'Like to do on 1ST date: 'otherFIRSTDATE
- Transmit 'Believes in womens Lib? 'otherWOMENSLIB
- Transmit 'Political status: 'otherPOLITICS
- Transmit 'Believes in ALL RACES equal: 'otherRACIALEQUAL
- Transmit 'Will date another race? 'otherRACEPREF
- Transmit 'Race: 'otherRACE
- Transmit 'Abortion views: 'otherABORT
- Transmit ''
- Query 'Hit RETURN: '
- call MAIN
- END
- Transmit 'User not FOUND!'
- Transmit ''
- Query 'Hit RETURN: '
- call MAIN
-
- YOURSTATS:
- Transmit CLS
- Transmit TOP
- call open file, (direct'users/'realname), 'R'
- UserID = READLN(FILE)
- alias1 = readln(file)
- Handle = readln(file)
- gender = readln(file)
- pref = readln(file)
- weight = readln(file)
- weightpref = readln(file)
- eye = readln(file)
- height = readln(file)
- age = readln(file)
- agepref = readln(file)
- MUSIC = readln(file)
- HOBBY = readln(file)
- SALARY = readln(file)
- FIRSTDATE = readln(file)
- WOMENSLIB = readln(file)
- POLITICS = readln(file)
- RACIALEQUAL = readln(file)
- RACEPREF = readln(file)
- RACE = readln(file)
- ABORT = readln(file)
-
-
-
- call close file
- if gender = 1 then gender = 'Male'
- if gender = 2 then gender = 'Female'
- if pref = 1 then pref = 'HeteroSexual'
- if pref = 2 then pref = 'HomoSexual'
- if pref = 3 then pref = 'BiSexual'
- if pref = 4 then pref = 'TrySexual'
- if weight = 1 then weight = '90-100'
- if weight = 2 then weight = '101-120'
- if weight = 3 then weight = '121-130'
- if weight = 4 then weight = '131-150'
- if weight = 5 then weight = '151-180'
- if weight = 6 then weight = '181-210'
- if weight = 7 then weight = 'over 210'
- if weightpref = 1 then weightpref = '90-100'
- if weightpref = 2 then weightpref = '101-120'
- if weightpref = 3 then weightpref = '121-130'
- if weightpref = 4 then weightpref = '131-150'
- if weightpref = 5 then weightpref = '151-180'
- if weightpref = 6 then weightpref = '181-210'
- if weightpref = 7 then weightpref = 'over 210'
- if eye = 1 then eye = 'Blue'
- if eye = 2 then eye = 'Grey'
- if eye = 3 then eye = 'Brown'
- if eye = 4 then eye = 'Green'
- if eye = 5 then eye = 'Hazel'
- if eye = 6 then eye = 'Black'
- if height = 1 then height = '4ft-4.5ft'
- if height = 2 then height = '4.6ft-5ft'
- if height = 3 then height = '5.1ft-5.5ft'
- if height = 4 then height = '5.6ft-5.8ft'
- if height = 5 then height = '5.9ft-5.11ft'
- if height = 6 then height = '6ft-6.5ft'
- if height = 7 then height = '6.6ft-UP'
-
- if age = 1 then age = '13-15'
- if age = 2 then age = '16-18'
- if age = 3 then age = '19-25'
- if age = 4 then age = '26-30'
- if age = 5 then age = '31-35'
- if age = 6 then age = '36-40'
- if age = 7 then age = '41-45'
- if age = 8 then age = '46-50'
- if age = 9 then age = '51-60'
- if age = 10 then age = 'Other'
-
- if agepref = 1 then agepref = '13-15'
- if agepref = 2 then agepref = '16-18'
- if agepref = 3 then agepref = '19-25'
- if agepref = 4 then agepref = '26-30'
- if agepref = 5 then agepref = '31-35'
- if agepref = 6 then agepref = '36-40'
- if agepref = 7 then agepref = '41-45'
- if agepref = 8 then agepref = '46-50'
- if agepref = 9 then agepref = '51-60'
- if agepref = 10 then agepref = 'Other'
-
- if music = 1 then music = 'Rock and Roll'
- if music = 2 then music = 'Punk/New Wave'
- if music = 3 then music = 'Heavy Metal dude!'
- if music = 4 then music = 'Classical'
- if music = 5 then music = 'Country'
- if music = 6 then music = 'Opera'
- if music = 7 then music = 'Soft Rock'
- if music = 8 then music = 'Other'
-
- if hobby = 1 then hobby = 'Sex'
- if hobby = 2 then hobby = 'Sports or exercise'
- if hobby = 3 then hobby = 'Parties!!'
- if hobby = 4 then hobby = 'Watching TV'
- if hobby = 5 then hobby = 'Computers'
- if hobby = 6 then hobby = 'Reading'
- if hobby = 7 then hobby = 'All of the above'
- if hobby = 8 then hobby = 'Other'
-
- if salary = 1 then salary = 'under 5000'
- if salary = 2 then salary = '5001-10000'
- if salary = 3 then salary = '10001-15000'
- if salary = 4 then salary = '15001-25000'
- if salary = 5 then salary = '25001-40000'
- if salary = 6 then salary = '40001-60000'
- if salary = 7 then salary = '60001-up'
-
- if firstdate = 1 then firstdate = 'go to a movie'
- if firstdate = 2 then firstdate = 'go out to dinner'
- if firstdate = 3 then firstdate = 'go dancing/bars'
- if firstdate = 4 then firstdate = 'go to a play/concert'
- if firstdate = 5 then firstdate = 'I hit the MOTEL ROOM with my date'
- if firstdate = 6 then firstdate = 'I go and meet the m'
- if firstdate = 7 then firstdate = 'I have never been on a date'
- if firstdate = 8 then firstdate = 'Other'
-
- if womenslib = 1 then womenslib = 'YES'
- if womenslib = 2 then womenslib = 'No'
- if womenslib = 3 then womenslib = 'No opinion'
-
- if politics = 1 then politics = 'Democrat'
- if politics = 2 then politics = 'Republican'
- if politics = 3 then politics = 'Communist'
- if politics = 4 then politics = 'Socialist'
- if politics = 5 then politics = 'Liberal'
- if politics = 6 then politics = 'Other'
-
- if Racialequal = 1 then Racialequal = 'Heck YES!'
- if Racialequal = 2 then Racialequal = 'No.'
- if Racialequal = 3 then Racialequal = 'No Opinion'
-
- if racepref = 1 then racepref = 'Yes!'
- if racepref = 2 then racepref = 'No.'
- if racepref = 3 then racepref = 'Depends'
-
- if RACE = 1 then race = 'Hispanic'
- if RACE = 2 then race = 'Asian'
- if RACE = 3 then race = 'African American'
- if RACE = 4 then race = 'Native American'
- if RACE = 5 then race = 'Caucasion'
- if RACE = 6 then race = 'Newcomer'
- if RACE = 7 then race = 'Other'
-
- if abort = 1 then abort = 'Yes'
- if abort = 2 then abort = 'No'
- if abort = 3 then abort = 'only in certain circumstances'
-
-
- Transmit ''
- Transmit 'Name: 'Handle
- Transmit 'Alias: 'alias1
- Transmit 'Your ID Number:'UserID
- Transmit 'Gender: 'gender
- Transmit 'Sex Pref: 'pref
- Transmit 'Weight: 'weight
- Transmit 'Weight Pref: 'weightpref
- Transmit 'Eye color: 'eye
- Transmit 'Height: 'height
- Transmit 'Age: 'age
- Transmit 'Age Pref: 'agepref
- Transmit ''
- Query 'Hit RETURN: '
- Transmit CLS
- Transmit 'Music Pref: 'MUSIC
- Transmit 'Hobby: 'HOBBY
- Transmit 'Salary: $'SALARY
- Transmit ''
- Transmit 'Like to do on 1ST date: 'FIRSTDATE
- Transmit 'Believes in womens Lib? 'WOMENSLIB
- Transmit 'Political status: 'POLITICS
- Transmit 'Believes in ALL RACES equal: 'RACIALEQUAL
- Transmit 'Will date another race? 'RACEPREF
- Transmit 'Race: 'RACE
- Transmit 'Abortion views: 'ABORT
- Transmit ''
- Query 'Hit RETURN: '
-
- call MAIN
-
-
- /* Procedure to REGISTER */
- REG:
- Query 'Enter the ALIAS you wish to use: '
- alias = result
- if alias = '' then return
- pass = "PASS"
- RETURN
-
- Letter:
- query 'Enter the name of the person you wish to send a letter to\n2>'
- mailname = result
- if mailname = '' then call main
- call open files, (direct'users/people'),'R'
- call open file, (direct'users/people.serial'),'R'
- do j = 1 to tot
- matchname.j = readln(files)
- matchid.j = readln(file)
- end
- call close files
- call close file
- do j = 1 to tot
- if mailname = matchname.j then call send
- end
- transmit 'User not found!'
- call main
-
- send:
- call open file, (direct'users/'matchid.j),'R'
- ID = readln(file)
- close file
- bufferflush
- SC = 'MS'id'!;'
- JF = sc"hello"
- cf = upper(jf)
- transmit cf
- bbscommand CF
- call main
- bbscommand 'MS'ID' !;Mail from 'alias' in dating;n;n;'
-
- /* Procedures for Errors, Logging off and re-entering Abyss */
- IOERR:
- TRANSMIT '*BOOM* Got an IO error. PLEASE notify the sysop.'
- TRANSMIT 'Line:' SIGL
- LOGENTRY '*BOOM* Got an IO error.'
- LOGENTRY '---> Line:' SIGL
- call CloseShop
- exit
-
- SYNTAX:
- TRANSMIT '*BOOM* Got a syntax error. PLEASE notify the sysop.'
- TRANSMIT 'Line:' SIGL ' Error Code:' RC
- LOGENTRY '*BOOM* Got a syntax error.'
- LOGENTRY '---> Line:' SIGL ' Error Code:' RC
- call CloseShop
- exit
-
-
- CloseShop: procedure
- TRANSMIT ' '
- TRANSMIT ' '
- if NoCarrier() then call Quit
- QUERY 'Press RETURN:'
- SHUTDOWN
- return
-
- Quit: procedure
- SHUTDOWN
- exit
- return
-
- NoCarrier: procedure
- GETCARRIER
- carrier = RESULT
- if carrier=='FALSE' then
- rv = 1
- else
- rv = 0
- return(rv)
-
- BEXIT:
- BUFFERFLUSH
- SHUTDOWN
- EXIT