home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
OMEGAMOD.ZIP
/
OMEGA01.MOD
next >
Wrap
Text File
|
1993-05-31
|
3KB
|
78 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: OMEGA01.MOD Mod Author: O·M·E·G·A [Ω] │
│ Difficulty: Novice Modification Date: 05/27/93 │
│ WWIV Version: 4.XX │
│ Files Affected: BBS.C │
│ Description: Displays a Text File (e.g. Disclaimer) on the first time a │
│ person enters your Transfer Section, per Logon. │
└────────────────────────────────────────────────────────────────────────────┘
So, you've got a Disclaimer that you want people to see the first time they
enter your Transfer Section, and (for Legal Reasons) you want to make sure
they read it? Well, this INCREDIBLY SIMPLE mod will do this for you.
The First time they enter you Transfer Section this Message will be FORCE
displayed, and then they can enter again and again after that, without this
message haunting them. Okay, here ya go. There's No Block Reading Necessary
Since it's such a small MOD.
First Step │ (This Should Be Etched in your Brain by now)
────────────┘
Back Up your source. Here's an Example of how.
pkzip -a 422S.ZIP *.c *.h *.mak.
But you can do it however you like.
Second Step │
────────────┘
Open up BBS.C and add this line at the top with the #DEFINE s..
int transfermsg_x;
Now search for case 'T': in void mainmenu(void)..
case 'T':
if (!transfermsg_x) { /* OMEGA01.MOD ADD */
do { /* " " " */
done=1; /* " " " */
if (printfile("TRANSFER.MSG")) { /* " " " */
nl(); nl(); /* " " " */
done=0; /* " " " */
} /* " " " */
} while ((!done) && (!hangup)); /* " " " */
transfermsg_x=1; /* " " " */
} /* OMEGA01.MOD ADD */
if (syscfg.sysconfig & sysconfig_no_xfer) {
nl();
pl(get_string(30));
nl();
break;
}
if (udir[0].subnum!=-1)
curdloads=1;
else {
nl();
pl(get_string(31));
nl();
}
break;
Third Step │
───────────┘
Okay that's about it, just type 'MAKE' at the DOS prompt and....
If you have a:
8086 Go away this weekend for a vacation.
286 Go Watch Unsolved Mysteries
386 Go Grab a Sandwich
486 Blink
I'll help ya if you need any.. My Address' are
WWIVnet 3@4703
MSAnet 3@4600
O·M·E·G·A [Ω]