home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / APOC01A.ZIP / APOC01A.MOD next >
Encoding:
Text File  |  1995-06-17  |  1.7 KB  |  56 lines

  1. Apocalypse #357 @15201
  2. Wed. June 14, 1995 - 11:20 am
  3. Mod Name      : APOC01a.MOD
  4. Difficulty    : Beavis could do it
  5. Files affected: MMENU.C
  6. Description   : Creates a user-readable Disclaimer
  7. Author        : Apocalypse
  8.  
  9. Extended Description:
  10.     This mod simply presents a disclaimer that a user can read from the
  11.     main menu by pressing //DC or //DISCLAIMER.
  12.  
  13. Revision A:
  14.     I had to upgrade this to 4.24 format.
  15.  
  16. Key: /*=*/ Existing code
  17.      /*+*/ Add this code
  18.      /*-*/ Remove this code
  19.      /*!*/ Change this code
  20.  
  21. Step 1: Here.  Lets say you have your source code in this directory:
  22.     c:\tc\wwivcode.  Make a directory called BUP. Now make a batch file
  23.     that looks like this:
  24. @ECHO OFF
  25. cd\tc\wwivcode
  26. pkzip BUP.ZIP *.c *.h *.mak
  27. move BUP.ZIP bup
  28. cd\tc\wwivcode\bup
  29.     and save it as BUP.BAT. Run this, and rename your BUP.ZIP to whatever
  30.     you want. Keep a log of what mods you added when you made that backup.
  31.     You just backed up your source code!
  32.  
  33. Step 2: Load MMENU.C and do the following:
  34.   in function mainmenu:
  35.  
  36. /*=*/   if (strcmp(s,"WHO")==0) {
  37. /*=*/     multi_instance();
  38. /*=*/   }
  39. /*+*/   if ((strcmp(s,"DISCLAIMER")==0) || (strcmp(s,"DC")==0)) {
  40. /*+*/       printfile("DISCLAIM.MSG");          //NOTE 1
  41. /*+*/     pausescr(); //optional pause screen
  42. /*+*/   }
  43.  
  44. NOTE 1: This mod will NOT work unless you have done the next step!
  45.  
  46. Step 3: Create an ansi/ascii/text file that has your BBS disclaimer in it.
  47.      Save this file in the main BBS directory as DISCLAIM.MSG.
  48.  
  49. Step 4: Compile BBS and enjoy!  If you use this mod AT ALL, please e-mail me!
  50.      My current adresses are: Internet: rrisher@infinet.com
  51.                         220-6474@tnet.bt.quake.com
  52.                   DigiNet:  1@171
  53.                   USAnet:   1@6453
  54.                   TOURNet:  1@1
  55.                   SPUDnet:  1@97
  56.