home *** CD-ROM | disk | FTP | other *** search
- Jean-Luc Picard #1 @6227
- Tue Jun 20 18:19:23 1995
- JLP-003.MOD : Pause on demand.
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: jlp-003.mod Date: June 20, 1995 │
- │ Difficulty: █▒▒▒▒▒▒▒▒▒▒ Mod Authors: Jean-Luc Picard │
- │ WWIV Version: 4.2x Nets: 1@6227.WWIVNET │
- │ 1@6571.ICENET │
- │ Files Affected: Com.C │
- │ Description: This mod will allow the SysOp or user cause a pause using │
- │ a char 19 (CTRL+S in TheDraw or the !! charcter). Great for │
- │ putting pauses in ANSI files. │
- └────────────────────────────────────────────────────────────────────────────┘
-
- Disclaimer:
-
- If this mod blows up your computer, then I am not responsible.
-
- Legend:
- + Add this line
- - Remove this line
- = Existing line
- % Change this line
-
- Step 1:
- Backup your source!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
- Step 2:
- Open COM.C function outchr(unsigned char c)
-
- = } else if (change_color == 1) {
- = change_color = 0;
- = if ((c >= '0') && (c <= '9'))
- = ansic(c - '0');
- = return 0;
- = }
- + if (c == 19) {
- + if (sysstatus_pause_on_page & thisuser.sysstatus) {
- + pausescr();
- + return;
- + }
- = }
- = if (c == 3) {
- = change_color = 1;
- = return 0;
- = } else if (c == 15) {
- = change_color = 4;
- = return 0;
- = } else if ((c == '|') && (g_flags & g_flag_pipe_colors) &&
-
- Step 3:
- Save COM.C & MAKE!
-
-
- Jean-Luc Picard #1 (SysOp)
- U.S.S. Enterprise BBS (@6571.ICENET & @6227.WWIVNET)
-