home *** CD-ROM | disk | FTP | other *** search
- Apocalypse #357 @15201
- Wed. June 14, 1995 - 11:20 am
- Mod Name : APOC01a.MOD
- Difficulty : Beavis could do it
- Files affected: MMENU.C
- Description : Creates a user-readable Disclaimer
- Author : Apocalypse
-
- Extended Description:
- This mod simply presents a disclaimer that a user can read from the
- main menu by pressing //DC or //DISCLAIMER.
-
- Revision A:
- I had to upgrade this to 4.24 format.
-
- Key: /*=*/ Existing code
- /*+*/ Add this code
- /*-*/ Remove this code
- /*!*/ Change this code
-
- Step 1: Here. Lets say you have your source code in this directory:
- c:\tc\wwivcode. Make a directory called BUP. Now make a batch file
- that looks like this:
- @ECHO OFF
- cd\tc\wwivcode
- pkzip BUP.ZIP *.c *.h *.mak
- move BUP.ZIP bup
- cd\tc\wwivcode\bup
- and save it as BUP.BAT. Run this, and rename your BUP.ZIP to whatever
- you want. Keep a log of what mods you added when you made that backup.
- You just backed up your source code!
-
- Step 2: Load MMENU.C and do the following:
- in function mainmenu:
-
- /*=*/ if (strcmp(s,"WHO")==0) {
- /*=*/ multi_instance();
- /*=*/ }
- /*+*/ if ((strcmp(s,"DISCLAIMER")==0) || (strcmp(s,"DC")==0)) {
- /*+*/ printfile("DISCLAIM.MSG"); //NOTE 1
- /*+*/ pausescr(); //optional pause screen
- /*+*/ }
-
- NOTE 1: This mod will NOT work unless you have done the next step!
-
- Step 3: Create an ansi/ascii/text file that has your BBS disclaimer in it.
- Save this file in the main BBS directory as DISCLAIM.MSG.
-
- Step 4: Compile BBS and enjoy! If you use this mod AT ALL, please e-mail me!
- My current adresses are: Internet: rrisher@infinet.com
- 220-6474@tnet.bt.quake.com
- DigiNet: 1@171
- USAnet: 1@6453
- TOURNet: 1@1
- SPUDnet: 1@97
-