home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / OMEGAMOD.ZIP / OMEGA02.MOD < prev   
Text File  |  1993-06-10  |  2KB  |  83 lines

  1. ┌────────────────────────────────────────────────────────────────────────────┐
  2. │ Mod Name: OMEGA02.MOD       Mod Author: O·M·E·G·A  [Ω]                     │
  3. │ Difficulty: █▒▒▒▒▒▒▒▒▒▒▒▒▒▒       Date: 06/10/93                           │
  4. │ WWIV Version: 4.XX                                                         │
  5. │ Files Affected: BBS.C MODEM.C                                              │
  6. │ Description: Asks you if you want to go "Off Hook" when you end your BBS.  │
  7. └────────────────────────────────────────────────────────────────────────────┘
  8.  
  9. Okay, whenever I end my BBS, I want to keep the phone from ringing forever
  10. when someone tries to call =).  Then one day I tried out WildCat! and saw
  11. a feature that was so small, yet so needed, or at least I felt that way, for 
  12. WWIV.  Anyways, away with the Mod.
  13.  
  14. Code Key
  15. ++  Add
  16. ==  Leave Alone
  17. --  Delete  <- Not used in this Mod.
  18.  
  19.  
  20. First Step  │ (This Should Be Etched in your Brain by now)
  21. ────────────┘
  22.  
  23.              Back Up your source.  Here's an Example of how.
  24.              pkzip -a 422S.ZIP *.c *.h *.mak. 
  25.              But you can do it however you like.
  26.              
  27. Second Step │
  28. ────────────┘
  29.  
  30. Block read the following void into the bottom of MODEM.C
  31.  
  32. /* Begin Block Read for OMEGA02.MOD */
  33.  
  34. holdphone2(void)
  35. {
  36.         do_result(&(modem_i->defl));
  37.         pr1(modem_i->pick);
  38.         xtime=timer();
  39.         global_xx=1;
  40. }
  41.  
  42. /* End Block Read */
  43.  
  44. Third Step  │
  45. ────────────┘
  46.  
  47. Load Up BBS.C and add the appropriate lines in void getcaller..
  48.  
  49. ==    case 'Q':
  50. ++      outs("Would you like to go 'Off Hook'? ");
  51. ++      if (ny())  /* You can change ny() to yn() if you want it to
  52. ++            default 'no'. */
  53. ++      holdphone2();
  54. ==        end_bbs(oklevel);
  55. ==        break;
  56.  
  57. Okay, that's all.  Told you it was easy.
  58.  
  59. Third Step │
  60. ───────────┘
  61. Okay that's about it, just type 'MAKE' at the DOS prompt and....
  62.  
  63.     If you have a:
  64.         8086 Go away this weekend for a vacation.
  65.         286  Go Watch Unsolved Mysteries
  66.         386  Go Grab a Sandwich
  67.         486  Blink 
  68.  
  69. I'll help ya if you need any..  My Address' are 
  70.  
  71.         WWIVnet 3@4703
  72.         MSAnet  3@4600
  73.         
  74.                     O·M·E·G·A  [Ω]
  75.                     
  76.  
  77. Other O·M·E·G·A Mod Release information.
  78.  
  79. OMEGA01.MOD - Simple Non-Abortable Once per Logon Transfer Message
  80. OMEGA02.MOD - Simple 'Off Hook' feature for WWIV
  81. OMEGAXX.MOD - New 'Non-DGROUP Hogging' Pull Down Menus (UNCOMPLETED)
  82.  
  83.