home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
EVENTS
/
MTNV21.ARJ
/
MTONEXT.MOD
< prev
Wrap
Text File
|
1993-12-29
|
3KB
|
62 lines
╓────────────────────────────────────────────────────────────────────────────╖
║ MOD: MTONEXT.MOD ║
║ Difficulty: █──────── ║
║ By: Max Sterling ║
║ Purpose: To add additional support to the Message to Next Caller Program ║
║ by Datagen Software Designs. This mod will allow users to run ║
║ the program at logoff. ║
║ ║
║ Please note that this modification was originally written for ║
║ WWIV v4.10, and may require some modification for the current ║
║ version! ║
║ Affects: BBS.C ║
╙────────────────────────────────────────────────────────────────────────────╜
WARRANTY and DISCLAIMER
───────────────────────
This modification is provided AS IS without any expressed or
implied warranties whatsoever. No warranty of fitness for a
particular purpose is offered. The author of this mod
cannot be held responsible for DIRECT, INDIRECT INCIDENTAL,
CONSEQUENTIAL, or ANY OTHER damages due to your ability or
inability to use this mod, even if the author has been
advised of the possibility of such damages. The user assumes
full responsibility for the use of this modification.
BACK UP YOUR SOURCE!!! Or at least the file(s) that is/are affected.
Open up BBS.C. Look down until you find BOTH case 'O':'s in the main menu and
the transfer menu. Make the changes shown below. Also be sure you change the
command line to suit your CHAIN.TXT location.
- = existing line
+ = add this line
/*------------------------------MTONEXT.MOD--------------------------------*/
- case 'O':
- helpl=12;
- nl();
- nl();
- prt(3,"Log Off? ");
- if (yn()) {
+ if(okansi()) {
+ sprintf(s2,"MTONEXT D:\WWIV\CHAIN.TXT"); /* CHANGE TO PROPER COMMAND LINE */
+ run_external1(s2);
+ outchr(12);
+ npr("7Time on = 1%s\r\n",ctim(timer()-timeon));
+ printfile("LOGOFF");
+ hangup=1;
+ }
+ } else {
- outchr(12);
- npr("7Time on = 1%s\r\n",ctim(timer()-timeon));
- printfile("LOGOFF");
- hangup=1;
+ }
+ }
- break;
/*------------------------------END MTONEXT.MOD----------------------------*/