home *** CD-ROM | disk | FTP | other *** search
- Emperor Ace #1 @11714
- Thu Jun 22 23:34:26 1995
- ╓─────────────────────────────────────────────────────────────────────────────╖
- ║ Mod Name : ACE0003.424 Author: Emperor ACE 1@1 SilverNET ║
- ║ Difficulty : ▒▒▒▒▒▒▒▒▒ (0/10) [Block Copy] 1@11714 WWIVnet ║
- ║ WWIV Version : 4.24 1@7700 TerraNET ║
- ║ Mod Date : 06/22/95 1@7707 IceNet ║
- ║ Files Affected: QWK.C QWK.ANS QWK.MSG ║
- ║ Description : Adds a hang up command to the QWK area. ║
- ╙─────────────────────────────────────────────────────────────────────────────╜
-
- Long Description:
- One of my users asked for this, so here it is. Basically, it will allow
- you to hang up from the QWK area.
-
- Disclaimer:
- If your BBS gets fried, I didn't do it, nobody saw me do it, you can't
- prove anything. In other words, it was probably your fault, and I'm not
- responsible for it.
-
- Legend:
-
- = Original Line
- + Add This Line
- - Delete This Line
- * Change This Line
-
- Step 1:
-
- Back up your source. This should be automatic but....
- The following line will back up your source. Type SAVE xxxxxxx, where xxxxxx
- is a date or something that you want it saved under.
- PKZIP -ex %1.ZIP *.C *.H *.MAK
-
- Step 2:
-
- Load QWK.C and in void qwk_menu(void) change the following as indicated:
-
- = if(qwk_percent)
- = {
- = ansic(3);
- = nl();
- = npr("%s %d%%\r\n", get_string(1636), qwk_percent);
- = }
- = nl();
- * strcpy(temp, "7[3Q1DCUBSH%"); //Added H0
- = if(so())
- = strcat(temp, "1");
- = strcat(temp, "7] ");0
- = outstr(temp);
- = mpl(1);
- =
- * strcpy(temp, "Q\r?CDUBSH%"); //Added H
- = if(so())
- = strcat(temp, "1");
- = key=onek(temp);
- = if (rip_on())
- =
-
-
- Step 3:
-
- Still in void qwk_menu(void) insert the following code:
-
- = case 'C':
- = sysoplog(get_stringx(1,127));
- = config_qwk();
- = break;
- =
- + case 'H':
- + if (numbatchdl!=0) {
- + nl();
- + outstr(get_string(1324));
- + if (ny())
- + batchdl(1);
- + else
- + hangup=1;
- + } else
- + hangup=1;
- + break;
- +
- = case '%':
-
-
-
- Step 4:
-
- Save QWK.C and in your GFILES directory edit QWK.ANS and QWK.MSG to reflect
- the new command.
-
-
- Step 5:
-
- Compile your board. Then send me e-mail or something if you used it, or can
- improve it.
-
- 9E1mperor 9A1CE0
-