home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / BS01.ZIP / BS01.MOD < prev    next >
Encoding:
Text File  |  1995-06-11  |  6.6 KB  |  167 lines

  1. Bull Ship #1 @11132
  2. Mon Jun 05 20:33:57 1995
  3. ┌────────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name      : BS01.423          Mod Author: Bull Ship 1@1     SierraLink │
  5. │ Difficulty    : █▒▒▒▒▒▒▒▒▒                              1@11132 WWIVnet    │
  6. │ WWIV Version  : 4.24                                    1@2932  IceNET     │
  7. │ Mod Date      : 6/5/95                                  1@2932  TerraNET   │
  8. │ Files Affected: BBS.C                                   1@22901 WWIVLink   │
  9. │ Description   : Phone off hook, Net Pending list, change KB to 2400        │
  10. └────────────────────────────────────────────────────────────────────────────┘
  11. ══[ Description ]═════════════════════════════════════════════════════════════
  12.  
  13. The below MOD's are the very first things I change on every new version of
  14. WWIV.  They are mostly Sysop help items.. things that will make your life
  15. easier.
  16.  
  17. Note:  None of these changes are dependent on the other, you can add or
  18.        ignore whichever changes you wish.
  19.  
  20. Features:
  21. Option of taking phone off hook when you quit BBS.  Also takes phone offhook
  22. when you view your daily logs, net logs and Z log.  Worst thing for a sysop
  23. is for his users to reach a ringing phone.
  24.  
  25. Add the "Net Pending" list to Wardial (" . ") and Callout (" / ").  I have
  26. over 75 connects, no way I can remember all those node numbers <grin>.
  27.  
  28. Change the local modem speed in the last few callers from " KB " to " 2400 ".
  29.  
  30. ══[ Legend ]══════════════════════════════════════════════════════════════════
  31.  
  32. Add the lines indicated by the comment  // added for BS01.424
  33. No existing lines of code deleted.
  34.  
  35. ══[ Step 1 ]══════════════════════════════════════════════════════════════════
  36.  
  37. Please back up your source code.  Even the best programmers make mistakes.
  38.  
  39. ══[ Step 2 ]══════════════════════════════════════════════════════════════════
  40.  
  41. To take the phone offhook when you Quit the BBS.
  42. Open BBS.C and search for  case 'Q'.  (make sure the case 'Q' you found
  43. contains "end_bbs")   Replace "case 'Q'" and "case 27:" with these case
  44. statements, or modify as shown:
  45.  
  46. (case 27 is ESCAPE)
  47.  
  48.         case 'Q':
  49.           outstr(get_string(1043));   // added for BS01.424
  50.           if (ny()) {                 // added for BS01.424
  51.             outstr(get_string(1650)); // added for BS01.424
  52.                                       // string 1650 : Exit w/phone off hook?
  53.             if (ny()) {               // added for BS01.424
  54.               holdphone(1);           // added for BS01.424
  55.               }                       // added for BS01.424
  56.             end_bbs(QUIT_LEVEL);
  57.           } else clrscrb();           // changed this line for BS01.424
  58.           break;
  59.         case 27:
  60.           outstr(get_string(1043));
  61.           if (ny()) {                 // added bracket for BS01.424
  62.             outstr(get_string(1650)); // added for BS01.424
  63.                                       // string 1650 : Exit w/phone off hook?
  64.             if (ny()) {               // added for BS01.424
  65.               holdphone(1);           // added for BS01.424
  66.               }                       // added for BS01.424
  67.             end_bbs(QUIT_LEVEL);
  68.           } else clrscrb();           // changed this line for BS01.424
  69.           break;
  70.  
  71.  
  72. Now for holding the phone for things like LISTing your daily log at WFC.
  73. in BBS.C search for "CASE 'L' and add as shown:
  74.  
  75.        case 'L':
  76.           if (ok_local()) {
  77.             holdphone(1);                   // added for BS01.424
  78.             read_status();
  79.             slname(date(), s);
  80.             print_local_file(s,status.log1);
  81.             holdphone(0);                   // added for BS01.424
  82.           }
  83.           break;
  84.  
  85. Viewing your Network logs from WFC,
  86. Then search for  CASE 'N' and again place as shown:
  87.  
  88.         case 'N':
  89.           if (ok_local())
  90.             holdphone(1);                             // added for BS01.424
  91.             print_local_file("NET.LOG","NETDAT*.LOG");
  92.             holdphone(0);                             // added for BS01.424
  93.           break;
  94.  
  95. Viewing Yesterdays log from WFC,
  96. Then search for  CASE 'Y' and again place as shown:
  97.  
  98.         case 'Y':
  99.           if (ok_local()) {
  100.             holdphone(1);                   // added for BS01.424
  101.             read_status();
  102.             slname(date(), s);
  103.             print_local_file(status.log1,s);
  104.             holdphone(0);                   // added for BS01.424
  105.           }
  106.           break;
  107.  
  108.  
  109.  
  110. Viewing your Zlog from WFC,
  111. Then search for  CASE 'Z' and again place as shown:
  112.  
  113.         case 'Z':
  114.           if (ok_local()) {
  115.             holdphone(1);                   // added for BS01.424
  116.             zlog();
  117.             nl();
  118.             getkey();
  119.             holdphone(0);                   // added for BS01.424
  120.           }
  121.           break;
  122.  
  123.  
  124. ══[ Step 3 ]══════════════════════════════════════════════════════════════════
  125.  
  126. Now to add a net pending list when doing a wardial (" . ") or when doing a
  127. callout (" / "), add the lines indicated below, and don't forget the bracket
  128. also indicated:
  129.  
  130.  
  131.         case '/':
  132.           if ((net_sysnum) && (ok_local()) && ok_modem_stuff &&
  133.               ((instance==1) || (status.net_version>=34)) &&
  134.                ((syscfgovr.com_ISR[syscfgovr.primaryport]<8) || (status.net_ver
  135. sion>=35))) {  // added " { " for BS01.424   // wordwrap
  136.             print_pending_list();                // added BS01.424
  137.             force_callout(0);
  138.           }                                      // added BS01.424
  139.           break;
  140.         case '.':
  141.           if ((net_sysnum) && (ok_local()) && ok_modem_stuff &&
  142.               ((instance==1) || (status.net_version>=34)) &&
  143.                ((syscfgovr.com_ISR[syscfgovr.primaryport]<8) || (status.net_ver
  144. sion>=35))) {  // added " { " for BS01.424   //wordwrap
  145.             print_pending_list();            // added BS01.424
  146.             force_callout(1);
  147.           }                                  // added BS01.424
  148.           break;
  149.  
  150.  
  151.  
  152. ══[ Step 4 ]══════════════════════════════════════════════════════════════════
  153.  
  154. When logging on from the local keyboard, the LASTON shows that the caller
  155. signed on from the keyboard.  To change this, edit your BBS.STR using
  156. any string editor, go to string #1042.  Change  KB  to whatever speed you'd
  157. to have shown.  I change mine to read 2400.
  158.  
  159. ══[ Step 5 ]══════════════════════════════════════════════════════════════════
  160.  
  161. Done.. compile.
  162.  
  163. ══[ Disclaimer ]══════════════════════════════════════════════════════════════
  164.  
  165. Works on mine... I'm not responsible... if you have problems email me at the
  166. net addresses above and I'll try to help.
  167.