home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
STMPMOD.ZIP
/
STIMP07.MOD
< prev
next >
Wrap
Text File
|
1992-07-30
|
2KB
|
65 lines
┌────────────────────────────────────────────────────────────────────────┐
│Mod : STIMP07.MOD │
│Version: WWIV 4.20e │
│Author : Stimpy #1 @1002 NuclearArmsNET 442-1601 │
│Description: Small logoff sequence. │
│Diffculty: ▓▓░░░░░░░░ │
│Disclaimer: Always backup your source. If you get an incredible urge to │
│ sautee your cat, it's not my fault! │
└────────────────────────────────────────────────────────────────────────┘
= existing line
+ add line
- deleted line
* change line
In BBS.C
Put the following void in somewhere above void mainmenu()
void logoff1()
{
char ch;
helpl=12;
nl();
nl();
npr("eLog Off\r\n");
nl();
pl("3[113] 1Oops3, 1Quit back to board");
pl("3[123] 1Fast Logoff");
pl("3[133] 1Logoff with ansi");
pl("3[143] 1Leave a note to the Sysop before leaving");
nl();
outstr("7() 1Which 7(> ");
ch=onek("1234");
switch(ch) {
case '1':
break;
case '2':
hangup=1;
break;
case '3':
outchr(12);
npr("Time on = %s\r\n",ctim(timer()-timeon));
printfile("LOGOFF");
hangup=1;
break;
case '4':
strcpy(irt,"Log Off Feedback");
email(1,0,0,0);
hangup=1;
break;
}
}
Now search for case 'O': in void mainmenu() and void dlmainmenu() and
change them both to look like this:
case 'O':
logoff1();
break;
Search for /O in mainmenu() and dlmainmenu() and delete them both.
Now save and re-compile.