home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
AI401.ZIP
/
NFSLGON.WCX
(
.txt
)
< prev
Wrap
Wildcat! WCX
|
1994-11-20
|
9KB
|
360 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 9056 bytes 12/30/122 04:11:44pm
'! Code Segment Size :3594 bytes
'! Data Segment Size :5265 bytes
'! String Segment Size:5462 bytes
'! Compiled with WCC version 4.01
Type Type27
Filler0(1 To 6) As Byte
s6 As String*70
Filler76(1 To 14) As Byte
s90 As String*70
Filler160(1 To 14) As Byte
s174 As String*70
End Type
Type Type26
Filler0(1 To 4) As Byte
s4 As String*25
End Type
Declare Function Func3247 As Integer
Declare Function Func3474(i65534 As Integer, s65532 As String, s65530 As String, s65528 As String, s65526 As String) As Integer
Dim t26_4463 As Type26
Dim s5113 As String*20
Dim s5133 As String
Dim s5137 As String
Dim s5141 As String
Dim s5145 As String
Dim s5149 As String
Dim s5153 As String
Dim s5161 As String
Dim i5167 As Integer
Dim s5169(0 To 22) As String
Dim i5261 As Integer
Dim i5263 As Integer
Dim s65508_ As String '! Temporary
Dim s65512_ As String '! Temporary
Dim s65516_ As String '! Temporary
Dim l65520_ As Long
Dim i65524_ As Integer
Dim l65526_ As Long
Dim i65530_ As Integer
Dim s65532_ As String
Do
40 i5263 = 0
s5169(1) = "SHIT"
s5169(2) = "FUCK"
s5169(3) = "FUCK YOU"
s5169(4) = "ASS"
s5169(5) = "ASSHOLE"
s5169(6) = "ASS HOLE"
s5169(7) = "BITCH"
s5169(8) = "PUSSY"
s5169(9) = "CUNT"
s5169(10) = "BASTARD"
s5169(11) = "DICK"
s5169(12) = "COCK"
s5169(13) = "FUCKE"
s5169(14) = "PENIS"
s5169(15) = "VAGINA"
s5169(16) = "CUM"
s5169(17) = "SLUT"
s5169(18) = "WHORE"
s5169(19) = "MASTERBA"
s5169(20) = "SUCK"
s5169(21) = "DAMM"
s5169(22) = "CRAP"
Do
Do
706 Func3247
Print "!|1K|*|w0000270O12|#|#|#@CLS@@07@"
Print
Print
Print
Print "@0E@ @14@╔════════════════════════════════════════════════════════════════════════╗"
Print "@0E@ @14@║ @1F@This is The Menu For@14@ ║"
Print "@0E@ @14@║ @1E@ A.I.@1A@ @1E@&@1A@ @1E@H.O.M.@14@ ║"
Print "@0E@ @14@║ ║"
Print "@0E@ @14@║ @1E@v2.11 - 11/20/94@14@ ║"
Print "@0E@ @14@║ ║"
Print "@0E@ @14@║ @1E@[@1B@1@1E@] @1B@-@1F@ A.I.@1E@ Artificial Inteligence. It's very basic but fun. @14@║"
Print "@0E@ @14@║ ║"
Print "@0E@ @14@║ @1E@[@1B@2@1E@] @1B@-@1F@ H.O.M.@1E@ A game that is a lot like Simple Simon. @14@║"
Print "@0E@ @14@║ @1E@ It involves trying to remember number sequences.@14@ ║"
Print "@0E@ @14@║ ║"
Print "@0E@ @14@║ @1E@[@1B@3@1E@] @1B@-@1E@ Qu¡τ τφ τhε ßß$.@14@ ║"
Print "@0E@ @14@║ ║"
Print "@0E@ @14@║ THE BAD BOY BBS! 310.378.3081 310.915.5862 ║"
Print "@0E@ @14@╚════════════════════════════════════════════════════════════════════════╝"
Print
Print "@09@ What is your command ? ";
Input s5161
s65532_ = s5161
If s65532_ = "1" Then
GoTo 1039
GoTo 1039
End If
917 If s65532_ = "2" Then
GoTo 2977
GoTo 1039
End If
946 If s65532_ = "3" Then
GoTo 3070
GoTo 1039
End If
975 If s65532_ = "q" Then
GoTo 3070
GoTo 1039
End If
1004 If s65532_ = "Q" Then
GoTo 3070
GoTo 1039
End If
1033 Loop
1039 Func3247
If User.Name = s5137 Then
Print "!|1K|*|w000270O12|#|#|#@CLS@@09@"
Print
Print " @0C@ A.I. @0A@says......."
Delay 0.5
Print " @0C@ I am still pondering your question@0A@.....please try back later."
Print
Print " @PAUSE@"
GoTo 40
End If
1122 Open s5153 For Output As 2
1141 Cls
Print
Print
Print
Print
Print
Print "@0A@╔══════════════════════════════════════════════════════════════════════╗"
Print "║ ║"
Print "║ I am @0C@ A@0E@.@0C@I@0E@. @09@ - @0C@ Artificial Intelegence @0A@║"
Print "║ ║"
Print "║ ║"
Print "║ @0B@ The object here is to 'parlay-vous' with the me to see if you @0A@║"
Print "║ @0B@ can stump me by asking me any legit question you want. @0A@║"
Print "║ @0B@ But first the computer will ask you a question to see how smart @0A@║"
Print "║ @0B@ you are. So.......here we go. @0A@║"
Print "╚══════════════════════════════════════════════════════════════════════╝"
Print " @PAUSE@"
GoTo 1259
Do
Do
1259 Do While Len(s5149) < 3
Print "@CLS@@0A@ Here we go......"
Print
Print "@0C@Answer this question :@0A@ " + s5141
Input s5149
Loop
1314
1335 For i5263 = 1 To 21 Step 1
i5261 = InStr(1, UCase(s5149), UCase(s5169(i5263)))
If i5261 <> 0 Then
GoTo 1619
End If
1453 Next
1476 If s5149 = "" Or UCase(s5149) = "YES" Or UCase(s5149) = "NO" Then
Print "@CLS@@0A@!|*|1K|w0000270O12|#|#|# Your answer must be more than 'Yes' or 'No' and more than 3 characters long."
Print " @PAUSE@"
s5149 = ""
GoTo 1141
GoTo 2971
End If
1564 If (UCase(s5149) = "WHY" Or UCase(s5149) = "WHY" + "?") = 0 Then GoTo 1676
GoTo 1619
GoTo 1670
Do
Do
1619 Cls
Print
Print
Print " @0C@ DO NOT PROVOKE ME TO ANGER!!! ANSWER THE QUESTION!!"
Print " AND NO CUSSING PERMITTED!!!"
Print
Print " @PAUSE@"
s5149 = ""
GoTo 1259
1670 GoTo 2971
1676 If (s5149 = "." Or s5149 = ".." Or s5149 = "..." Or s5149 = "...." Or s5149 = ".....") = 0 Then GoTo 1768
Print
Print "Oh come on....you can do better than that. Just answer the question."
Loop
GoTo 2971
1768 If (s5149 = "?" Or s5149 = "??" Or s5149 = "???" Or s5149 = "????" Or s5149 = "!" Or s5149 = ",") = 0 Then GoTo 1862
Loop
GoTo 2971
1862 If (UCase(s5149) = "CARL TICE") = 0 Then GoTo 1930
Print "@CLS@@0D@ Congrats! @0A@ You have dicovered the secret message!"
Print "@09@Call my board @ 310.378.3081 or 310.915.5862 and let me know"
Print "how you like the game, or any new suggestions, or complaints!"
s5149 = ""
Loop
GoTo 2971
1930 If (UCase(s5149) = "RTM") = 0 Then GoTo 1980
Print "@CLS@@09@ Shame on you. tsk tsk tsk."
s5149 = ""
Loop
GoTo 1986
1980 GoTo 1986
Do
Do
1986 If (Len(s5145) < 3) = 0 Then GoTo 2086
Print "@CLS@@09@ @0A@ ╔════════════╗"
Print " ║@0C@ Very good!@0A@ ║"
Print " ╚════════════╝"
Print
Print
Print
Print " @0D@Now I need you to ask me; @0C@A.I.@0D@, any question you wish."
Print " I will ponder your question and see what knowledge I can bestow"
Print " opon you....."
Print
Print " @0F@Please ask @0C@A.I.@0F@ a question at this time.@09@"
Do
2074 Input s5145
GoTo 1986
2086 i5263 = 0
2113 For i5263 = 1 To 21 Step 1
i5261 = InStr(1, UCase(s5145), UCase(s5169(i5263)))
If i5261 <> 0 Then
GoTo 2690
End If
2231 Next
2254 If (s5145 = "" Or s5145 = "?" Or s5145 = "!" Or s5145 = "." Or s5145 = "...") = 0 Then GoTo 2335
Loop
GoTo 2971
2335 If UCase(s5145) = "WHY" Or UCase(s5145) = "WHY" + "?" Then
Print
Print " WHY?....WHY? you ask?......Becuase I am A.I. !"
GoTo 2690
GoTo 2971
End If
2401 If UCase(s5145) = "WHEN" Or UCase(s5145) = "WHEN" + "?" Then
GoTo 2690
GoTo 2971
End If
2456 If UCase(s5145) = "WHERE" Or UCase(s5145) = "WHERE" + "?" Then
GoTo 2690
GoTo 2971
End If
2511 If UCase(s5145) = "WHAT" Or UCase(s5145) = "WHAT" + "?" Then
GoTo 2690
GoTo 2971
End If
2566 If UCase(s5145) = "HOW" Or UCase(s5145) = "HOW" + "?" Then
Print
Print " How?......You can't really be that stupid....."
GoTo 2690
GoTo 2971
End If
2632 If (UCase(s5145) = "WHAT IS THIS?") = 0 Then GoTo 2684
Print
Print "This is A.I. - Now answer the question."
s5145 = ""
Loop
GoTo 2738
2684 GoTo 2738
2690 Print
Print
Print " You are begining to try my patience! DO AS I SAY!!! OR TAKE YOUR CHANCES!!"
Print " And NO FOUL LANGUAGE!!"
Print
Print " @PAUSE@"
s5145 = ""
Loop
2738 Print #2, s5145
Print #2, User.Name
Print #2, i5167
Close 2
Print "@CLS@@0C@Very Good -"
Print " @0F@I will ponder your question and the next time you "
Print " log-in I will have an answer waiting for you."
Print
Print
Print
Print "A.I. ߥ @0A@¢@02@å@03@Γ@05@£ @0A@τ@02@ì@03@¢@05@Σ@0C@...@0D@τHε ßÆD ßφ¥ ßß$! ══ 310.378.3081 310.915.5862"
Print " @0C@Γεg¡$τεΓεd τφ : @0D@UNREGISTERED"
Print
Print
Print " @PAUSE@"
s5113 = Pad(t26_4463.s4, 25)
s5133 = User.Name
Func3474(i5167, ("@09@You asked @0C@A.I. @09@:@0D@" + s5141 + "@0C@ A.I'S @09@answer was :@0D@" + s5149), ("A.I."), s5137, ("A.I. Response"))
2971 Loop
2977 Cls
Print "@09@The object of this game is to remember the sequence of numbers flashed"
Print " at you and then type them in....It is harder than it sounds."
Print
Print
Print "The problem is that your sysop needs to register this game for you to be able"
Print " to enjoy it. Tell your sysop that you'll gladly contribute the $5 it would"
Print "take to register it.....You would also be getting the RIP screens for A.I."
Print
Print
Print "H.O.M. ߥ @0A@¢@02@å@03@Γ@05@£ @0A@τ@02@ì@03@¢@05@Σ@0C@...@0D@τHε ßÆD ßφ¥ ßß$! ══ 310.378.3081 310.915.5862"
Print " @0C@Γεg¡$τεΓεd τφ : @0D@UNREGISTERED"
Print
Print
Print " @PAUSE@"
Loop
3070 If User.SecLevel = "SYSOP" Then
Else
3099 HelloFiles
CheckNewsletter
CheckBulletins
QuoteOfTheDay
End If
3111 CheckMailAtLogon
End
'! Called 2 times
Function Func3247 As Integer
s5153 = ProgPath + "AI.DAT"
If Exists(s5153) Then
Open s5153 For Input As 1
Input #1, s5141
Input #1, s5137
Input #1, i5167
If s5141 = "" Then
s5141 = "Why is there air?"
End If
3350 If s5137 = "" Then
s5137 = MakeWild.SysopName
End If
3381 If s5141 = "" Then
i5167 = 2
End If
3405 Close 1
Else
3416 Print
Print
Print "Can't find" + ProgPath + "AI.DAT"
ActivityLog "================= ERROR =================="
ActivityLog "Error Running A.I. - No AI.DAT File Found"
ActivityLog "================= ERROR =================="
End
End If
3466
End Function
'! Called 1 time
Function Func3474(i65534 As Integer, s65532 As String, s65530 As String, s65528 As String, s65526 As String) As Integer
Dim mh65204 As MessageHeader
i65534 = i5167
GetConfInfo(Conference, i5167)
Join i5167
mh65204.From = s65530
mh65204.To = s65528
mh65204.Subject = s65526
AddMessage(mh65204, s65532, "", 1213417543)
End Function