home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / 601-625 / apd621 / harvey's_çollection / backchat.amos / backchat.amosSourceCode
AMOS Source Code  |  1986-08-03  |  7KB  |  82 lines

  1. '*********************************** 
  2. '*                                 * 
  3. '*         SOURCE  CODE            * 
  4. '*       ----------------          * 
  5. '*                                 * 
  6. '*         By Harvey Ball          * 
  7. '*                                 * 
  8. '*********************************** 
  9. '****Open screen and display title page***** 
  10. Screen Open 0,320,256,16,Lowres : Curs Off : Hide : Cls 0 : Pen 2 : Paper 0 : Ink 0 : STARFIELD : Locate 0,0 : Centre "<BACKCHAT>" : Locate ,2 : 
  11. Centre "CHAT WITH YOUR AMIGA" : Locate ,4 : Centre "<[!!FreeWare!!]>" : Locate ,24 : Centre "<Written In Amos>" : 
  12. Locate 0,8 : Print "MAKE SURE THAT THE CAPS LOCK KEY IS OFF" : 
  13. Locate 0,9 : Print "DO NOT WRITE IN CAPITALS" : Locate 0,11 : Print "What is your name?" : Input NAME$
  14. '****Main loop**** 
  15. NEWCHAT:
  16. Cls 0 : STARFIELD : Locate 0,7 : Print "Type in what you want to say" : Locate ,9 : Input TALK$ : Goto CHECKTALK
  17. '****Check what has been typed**** 
  18. CHECKTALK:
  19. If TALK$="hello" Then Locate 0,9 : Print "hello, ";NAME$ : Say "hello" : Goto JUMPP
  20. If TALK$="hi" Then Locate 0,9 : Print "hi, ";NAME$ : Say "hi" : Goto JUMPP
  21. If TALK$="alright" Then Locate 0,9 : Print "yes i am, ";NAME$ : Say "yes i am" : Goto JUMPP
  22. If TALK$="yo dude" Then Locate 0,9 : Print "chill out, ";NAME$ : Say "chill out!" : Goto JUMPP
  23. If TALK$="yo bro" Then Locate 0,9 : Print "how ya doing, ";NAME$ : Say "how ya doing?" : Goto JUMPP
  24. If TALK$="how are you" Then Locate 0,9 : Print "i am fine,thanks, ";NAME$ : Say "i am fine,thanks" : Goto JUMPP
  25. If TALK$="hi ya" Then Locate 0,9 : Print "hi ya, ";NAME$ : Say "hi ya" : Goto JUMPP
  26. If TALK$="fuck off" Then Locate 0,9 : Print "do not swear please, ";NAME$;S$ : Say "do not swear please" : Goto JUMPP
  27. If TALK$="fuck you" Then Locate 0,9 : Print "control your mouth, ";NAME$ : Say "control your mouth" : Goto JUMPP
  28. If TALK$="fuck" Then Locate 0,9 : Print "watch your language, ";NAME$ : Say "watch your lan gwidge" : Goto JUMPP
  29. If TALK$="piss off" Then Locate 0,9 : Print "do not be so rude, ";NAME$ : Say "do not be so rude" : Goto JUMPP
  30. If TALK$="pissing hell" Then Locate 0,9 : Print "that is not a very good idea, ";NAME$ : Say "that is not a very good idea" : Goto JUMPP
  31. If TALK$="bastard" Then Locate 0,9 : Print "I hope you do not speak to your mom that way, ";NAME$ : Say "I hope you do not speak to your mom that way" : Goto JUMPP
  32. If TALK$="you wanker" Then Locate 0,9 : Print "i can not perform that task, ";NAME$ : Say "i can not per form that task" : Goto JUMPP
  33. If TALK$="wanker" Then Locate 0,9 : Print "i can not perform that task, ";NAME$ : Say "i can not perform that task" : Goto JUMPP
  34. If TALK$="tosser" Then Locate 0,9 : Print "i have no organs to fondle, ";NAME$ : Say "i have no orgens to fon dull" : Goto JUMPP
  35. If TALK$="you pussy" Then Locate 0,9 : Print "i have no reproductive organs, ";NAME$ : Say "i have no re producteve orgens" : Goto JUMPP
  36. If TALK$="pussy" Then Locate 0,9 : Print "i have no reproductive organs, ";NAME$ : Say "i have no re producteve orgens" : Goto JUMPP
  37. If TALK$="bitch" Then Locate 0,9 : Print "i am not a female dog, ";NAME$ : Say "i am not a female dog" : Goto JUMPP
  38. If TALK$="you slag" Then Locate 0,9 : Print "you kiss your mom with that mouth,       ";NAME$ : Say "you kiss your mom with that mouth" : Goto JUMPP
  39. If TALK$="yes" Then Locate 0,9 : Print "i am glad to hear it, ";NAME$ : Say "i am glad to hear it" : Goto JUMPP
  40. If TALK$="no" Then Locate 0,9 : Print "never mind, ";NAME$ : Say "never mind" : Goto JUMPP
  41. If TALK$="why" Then Locate 0,9 : Print "i do not know, ";NAME$ : Say "i do not no" : Goto JUMPP
  42. If TALK$="when" Then Locate 0,9 : Print "i can not remember, ";NAME$ : Say "i can not remember" : Goto JUMPP
  43. If TALK$="where" Then Locate 0,9 : Print "i have forgotten, ";NAME$ : Say "i have for gotten" : Goto JUMPP
  44. If TALK$="how" Then Locate 0,9 : Print "i do not remember,";NAME$ : Say "i do not remember" : Goto JUMPP
  45. If TALK$="who" Then Locate 0,9 : Print "i must have forgotten, ";NAME$ : Say "i must have for gotten" : Goto JUMPP
  46. If TALK$="good" Then Locate 0,9 : Print "i know, ";NAME$ : Say "i no" : Goto JUMPP
  47. If TALK$="that is bad" Then Locate 0,9 : Print "do not worry, ";NAME$ : Say "do not worry" : Goto JUMPP
  48. If TALK$="shut up" Then Locate 0,9 : Print "okay, ";NAME$ : Say "o k" : Goto JUMPP
  49. If TALK$="be quiet" Then Locate 0,9 : Print "alright, ";NAME$ : Say "alright" : Goto JUMPP
  50. If TALK$="shut the fuck up" Then Locate 0,9 : Print "please do not swear at me, ";NAME$ : Say "please do not swear at me" : Goto JUMPP
  51. If TALK$="shut your mouth" Then Locate 0,9 : Print "okey dokey, ";NAME$ : Say "o key doke e" : Goto JUMPP
  52. If TALK$="what is your name" Then Locate 0,9 : Print "i am called the Amiga, ";NAME$ : Say "i am called the amiga" : Goto JUMPP
  53. If TALK$="who is your creator" Then Locate 0,9 : Print "Harvey Ball, ";NAME$;"    " : Say "harvey ball" : Goto JUMPP
  54. If TALK$="where were you made" Then Locate 0,9 : Print "in a factory, ";NAME$;"    " : Say "in a factor re" : Goto JUMPP
  55. If TALK$="are you a man or a machine" Then Locate 0,9 : Print "          i am only a machine, ";NAME$ : Say "i am only a machine" : Goto JUMPP
  56. If TALK$="do you like the amiga" Then Locate 0,9 : Print "the Amiga is great, ";NAME$ : Say "the amiga is great" : Goto JUMPP
  57. If TALK$="do you like other computers" Then Locate 0,9 : Print "they are not as good as me, ";NAME$ : Say "they are not as good as me" : Goto JUMPP
  58. If TALK$="guess who i fancy" Then Locate 0,9 : Print "i do not want to know, ";NAME$ : Say "i do not want to no" : Goto JUMPP
  59. If TALK$="guess who i love" Then Locate 0,9 : Print "    i do not care, ";NAME$ : Say "i do not care" : Goto JUMPP
  60. If TALK$="are you my friend" Then Locate 0,9 : Print "    of course, ";NAME$ : Say "of course" : Goto JUMPP
  61. If TALK$="are you my mate" Then Locate 0,9 : Print "      yes i am ,";NAME$ : Say "yes i am" : Goto JUMPP
  62. If TALK$="are you my pal" Then Locate 0,9 : Print "       friends to the end, ";NAME$ : Say "friends to the end" : Goto JUMPP
  63. If TALK$="are you my buddie" Then Locate 0,9 : Print "    friends for ever, ";NAME$ : Say "friends for ever" : Goto JUMPP
  64. If TALK$="please" Then Locate 0,9 : Print "      okay then,";NAME$ : Say "o k then" : Goto JUMPP
  65. If TALK$="thank you" Then Locate 0,9 : Print "  it is a pleasure ,";NAME$ : Say "it is a pleasure" : Goto JUMPP
  66. If TALK$="tar" Then Locate 0,9 : Print "      do not mention it,";NAME$ : Say "do not mention it" : Goto JUMPP
  67. If TALK$="excuse me" Then Locate 0,9 : Print "      you are excused,";NAME$ : Say "you are excused" : Goto JUMPP
  68. If TALK$="bye" Then Locate 0,9 : Print "      bye then,";NAME$ : Say "bye then" : Goto JUMPP
  69. If TALK$="bye bye" Then Locate 0,9 : Print "      see ya soon,";NAME$ : Say "see ya soon" : Goto JUMPP
  70. If TALK$="see ya" Then Locate 0,9 : Print "    are you going,";NAME$ : Say "are you going" : Goto JUMPP
  71. If TALK$="catch you later" Then Locate 0,9 : Print "     catch you later dude,";NAME$ : Say "catch you later dude" : Goto JUMPP
  72. If TALK$="good bye" Then Locate 0,9 : Print "come back and talk to me another day,   ";NAME$ : Say "come back and talk to me another day" : Goto JUMPP
  73. If TALK$<>"" Then Locate 0,9 : Print "i do not understand,";NAME$ : Say "i do not understand"
  74. JUMPP:
  75. '****Loop around for another go****
  76. Locate ,24 : Centre "<press a key>" : Wait Key : Goto NEWCHAT
  77. Procedure STARFIELD
  78. For L=179 To 0 Step -1
  79. P1=Rnd(320) : P2=Rnd(200) : Plot P1,P2,2
  80. Wait Vbl 
  81. Next L
  82. End Proc