home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / ZF-2.ZIP / ZF-2.MOD < prev   
Encoding:
Text File  |  1995-06-30  |  3.1 KB  |  72 lines

  1. Neue Regel (Or Silent Knight) #1 @10141
  2. Sat Jun 24 14:30:35 1995
  3. ┌────────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name      : ZF-2.MOD        Mod Author: Neue Regel      1@10141 WWIVnet│
  5. │ Difficulty    : ░░░░░░░░░░      /┤lpha-1 Republic [ASV/GSA] 1@6293  ICEnet │
  6. │ WWIV Version  : 4.24                                                       │
  7. │ Mod Date      : 6-24-95                                                    │
  8. │ Files Affected: MMENU.C                                                    │
  9. │                                                                            │
  10. │ Description   : Asks user if he or she would like to vote scan all         │
  11. │                 conferences when 'N' is entered.                           │
  12. └────────────────────────────────────────────────────────────────────────────┘
  13.  
  14. ─[Legal Info]────────────────────────────────────────────────────────────────
  15. This modified code may contain some parts of WWIV source code, which is
  16. copyright 1988-1995 by Wayne Bell and licensed only to registered users of
  17. WWIV.  Use of WWIV source without registration constitutes a license
  18. violation, could lead to legal prosecution and is generally regarded as evil
  19. Shareware  distributors  and CD-ROM publishers may not distribute this
  20. modified code without express written permission of the Author or WWIV
  21. Software Services.
  22.  
  23. ─[Extended Description]──────────────────────────────────────────────────────
  24. I saw this mod for 4.23 and I think I used it.  Then I somehow lost it so I
  25. was waiting to see this on MODNET because it was fairly easy.  Then I
  26. thought, why not make one for my self...  Well here it is, like my last mod
  27. this is a no-brainer.  If you hit 'N' it'll ask you if you want to scan all
  28. the subs.  If you say yes it'll do the same as '/A'.
  29.  
  30. ─[Disclaimer]────────────────────────────────────────────────────────────────
  31. Ehh... back up the code... but it's kinda hard to mess up.
  32.  
  33. ─[Step 1 (the only step)]────────────────────────────────────────────────────
  34.  
  35. Open up MMENU.C
  36. Search for this (under void mainmenu):
  37.       case 'N':
  38.  
  39. Under it add this block
  40. /*zf-2 begin*/
  41.         nl();
  42.         npr("9Scan all conferences1? ");
  43.         if (yn()) {
  44.         write_inst(INST_LOC_SUBS,usub[cursub].subnum,INST_FLAGS_NONE);
  45.         express=0;
  46.         expressabort=0;
  47.         if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
  48.           ac=1;
  49.           tmp_disable_conf(1);
  50.         }
  51.         nscan(0);
  52.         if (ac)
  53.           tmp_disable_conf(0);
  54.         break;
  55.         }
  56. /*zf-2 end*/
  57.  
  58. Save mmenu.c, then type make in your source directory.  You are done.  Only
  59. 50 lines... what a short mod again eh?
  60.  
  61. ─[Closing]───────────────────────────────────────────────────────────────────
  62. If you do happen to have trouble or have any advice that could make this mod
  63. better or even if you just want to chat e-mail me at one of the following
  64. addresses (in preferential order).
  65.  
  66. Internet: uaslabs@bmn.net
  67. or      : swan0322@maroon.tc.umn.edu
  68. WWIVnet : 1@10141
  69. ICEnet  : 1@6293
  70.  
  71. /┤lpha-1 Republic: 612-988-0828
  72.