home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
OMEGAMOD.ZIP
/
OMEGA02.MOD
< prev
Wrap
Text File
|
1993-06-10
|
2KB
|
83 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: OMEGA02.MOD Mod Author: O·M·E·G·A [Ω] │
│ Difficulty: █▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Date: 06/10/93 │
│ WWIV Version: 4.XX │
│ Files Affected: BBS.C MODEM.C │
│ Description: Asks you if you want to go "Off Hook" when you end your BBS. │
└────────────────────────────────────────────────────────────────────────────┘
Okay, whenever I end my BBS, I want to keep the phone from ringing forever
when someone tries to call =). Then one day I tried out WildCat! and saw
a feature that was so small, yet so needed, or at least I felt that way, for
WWIV. Anyways, away with the Mod.
Code Key
++ Add
== Leave Alone
-- Delete <- Not used in this 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 │
────────────┘
Block read the following void into the bottom of MODEM.C
/* Begin Block Read for OMEGA02.MOD */
holdphone2(void)
{
do_result(&(modem_i->defl));
pr1(modem_i->pick);
xtime=timer();
global_xx=1;
}
/* End Block Read */
Third Step │
────────────┘
Load Up BBS.C and add the appropriate lines in void getcaller..
== case 'Q':
++ outs("Would you like to go 'Off Hook'? ");
++ if (ny()) /* You can change ny() to yn() if you want it to
++ default 'no'. */
++ holdphone2();
== end_bbs(oklevel);
== break;
Okay, that's all. Told you it was easy.
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 [Ω]
Other O·M·E·G·A Mod Release information.
OMEGA01.MOD - Simple Non-Abortable Once per Logon Transfer Message
OMEGA02.MOD - Simple 'Off Hook' feature for WWIV
OMEGAXX.MOD - New 'Non-DGROUP Hogging' Pull Down Menus (UNCOMPLETED)