ezMSTechSupport.pas 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. { $HDR$}
  2. {**********************************************************************}
  3. { Unit archived using Team Coherence }
  4. { Team Coherence is Copyright 2002 by Quality Software Components }
  5. { }
  6. { For further information / comments, visit our WEB site at }
  7. { http://www.TeamCoherence.com }
  8. {**********************************************************************}
  9. {
  10. $Log: 21832: EZMSTechSupport.pas
  11. Rev 1.0 2003.07.13 12:12:04 AM czhower
  12. Initial checkin
  13. Rev 1.0 2003.05.19 2:54:20 PM czhower
  14. }
  15. unit ezMSTechSupport;
  16. interface
  17. {$ifdef fpc}
  18. {$mode objfpc}{$H+}
  19. {$endif}
  20. uses
  21. EZPersonality;
  22. type
  23. TPersonalityMSTechSupport = class(TEZPersonality)
  24. protected
  25. procedure InitReplies; override;
  26. public
  27. class function Attributes: TEZPersonalityAttributes; override;
  28. end;
  29. implementation
  30. { TPersonalityMSTechSupport }
  31. class function TPersonalityMSTechSupport.Attributes: TEZPersonalityAttributes;
  32. begin
  33. with Result do begin
  34. Name := 'Microsoft Technical Support';
  35. Description := 'Dont pay $5 a minute, get the SAME level of suppor for'
  36. + ' free!';
  37. end;
  38. end;
  39. procedure TPersonalityMSTechSupport.InitReplies;
  40. begin
  41. AddReply([' My problem is ', ' The problem is '], [
  42. 'So you are calling about *?'
  43. , 'Is * a problem?'
  44. ]);
  45. AddReply([' crashes when I ', ' crashes when ', ' crashing when '], [
  46. 'The obvious answer would be not to *'
  47. , 'You are just asking for trouble.'
  48. ]);
  49. AddReply([' bug '], [
  50. 'Are you sure thats a bug?'
  51. , 'Thats not a bug, its a feature.'
  52. ]);
  53. AddReply([' AV ', ' AVs ', ' Access violation ', ' crash ', ' BSOD '], [
  54. 'I am sorry but I cannot reproduce that problem here.'
  55. , 'It works fine here. The problem must be on your end.'
  56. , 'Hmm. I have never heard of a problem like that.'
  57. , 'Have you tried rebooting your system?'
  58. , 'Do you have all the service packs installed?'
  59. ]);
  60. AddReply([' Borland ', ' Delphi '], [
  61. 'Is Borland still around?'
  62. , 'The problem is probably with the Borland product. You should contact Borland.'
  63. , 'I am sorry but we do not support Borland products.'
  64. ]);
  65. AddReply(['--NOKEYFOUND--'], [
  66. 'I will need more information.'
  67. , 'I will need to ask my supervisor for help.'
  68. ]);
  69. end;
  70. initialization
  71. TPersonalityMSTechSupport.RegisterPersonality;
  72. end.