home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
APOLLO24.423
< prev
next >
Wrap
Text File
|
1993-12-23
|
4KB
|
108 lines
Apollo24.423
``/┤PΘ££Θ`` WWIVnet #1 AT 2938
Sat Dec 18 08:09:31 1993
0R: net33: @4136 (via @1) [11:44 12/23/93]
0R: net33: @1 (via @4120) [07:02 12/23/93]
0R: net33: @4120 [06:19 12/23/93]
0R: net33: @4062 (via @4064) [05:11 12/23/93]
0R: net33: @4064 (via @1040) [01:18 12/23/93]
0R: net33: @1040 (via @2050) [00:38 12/23/93]
0R: net34: @2050 [22:46 12/22/93]
0R: net34: @2050 (via @1040) [03:58 12/20/93]
0R: net34: @2050 (via @1040) [14:41 12/19/93]
0R: net33: @1040 (via @1042) [15:27 12/19/93]
0R: net33: @1042 (via @2914) [13:06 12/19/93]
0R: net33: @2914 (via @2938) [22:47 12/18/93]
0R: net33: @2938 [08:19 12/18/93]
┌──────────────────────────────────────────────────────Filo─Header─(c)────┐
│ Mod Name: Apollo24.423 Mod Authors: Apollo 1@92938 WWIVNet & BRNet │
│ Difficulty: ██▒▒▒▒▒▒▒▒ 1@2939 TARDIS,TERRA,ICE & Mas Nets │
│ WWIV Version: v4.23 Date: 12/09/93 │
│ Files Affected: BBSUTIL1.C │
│ SysOp (SL=255) in different color. │
└─────────────────────────────────────────────────────────────────────────┘
Special Thanks to the writer of DARYL002.422 whose MOD locked up my
computer and forced me to write this one.
Real Thanks to the writer of DAWG16.MOD. His code allows for the showing
of SL=255 chains in different color. His MOD was well written, and worked
the second time.
With the advent of 4.23, my chains already apperar boxed, so this one now
adds my Executive Deversions header, and makes the SL=255 chains appear
in a different color.
LEGEND:
= old code, Search for this
+ new code
- Remove or comment out this line
> Modified From Virgin Code
#include <witty disclaimer>
BACKUP your Source
Load up: BBSOVL1.C
Find: void show_chains(int *mapp, int *map)
= userrec u;
=
= abort=0;
= nl();
+ sprintf(s," %d┌────═══│4Executive Diversions%d│═══── ∙∙ ─ ∙∙ ∙",
+ FRAME,FRAME); /* Apollo24.423 */
+ pla(s,&abort); /* Apollo24.423 */
= strcpy(s,get_string(1045));
= sprintf(s1,"%-42.42s2",get_string(1046));
= strcat(s,s1);
.
.
.
= for (i=0; (i<*mapp) && (!abort) && (!hangup); i++) {
= strcat(s,". ");
= if (okansi()) {
= read_user(chains_reg[map[i]].regby[0],&u);
+ /* Begin Apollo24.423 */
+ if (chains[map[i]].sl==255)
+ sprintf(s,
+ " %d║1%3d%d║2%-41s%d║%d%-21s%d║2%5d%d║",
+ FRAME, i+1, FRAME, chains[map[i]].description,
+ FRAME, (chains_reg[map[i]].regby[0])?2:3,
+ (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
+ FRAME, chains_reg[map[i]].usage, FRAME );
+ else
+ /* End Apollo24.423 */
= sprintf(s,
= " %d║5%3d%d║1%-41s%d║%d%-21s%d║1%5d%d║",
= FRAME, i+1, FRAME, chains[map[i]].description,
= FRAME, (chains_reg[map[i]].regby[0])?2:3,
= (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
= FRAME, chains_reg[map[i]].usage, FRAME );
= pla(s,&abort);
.
.
.
= } else {
= read_user(chains_reg[map[i]].regby[0],&u);
+ /* Begin Apollo24.423 */
+ if (chains[map[i]].sl==255)
+ sprintf(s," +%3d+%-41.41s+%-21.21s+%5d+",
+ i+1,chains[map[i]].description,
+ (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
+ chains_reg[map[i]].usage);
+ else
+ /* End Apollo24.423 */
= sprintf(s," |%3d|%-41.41s|%-21.21s|%5d|",
= i+1,chains[map[i]].description,
= (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
= chains_reg[map[i]].usage);
= pla(s,&abort);
done.
Save, Recompile and run.
As you can see, It's not too bad!
---- /┤PΘ££Θ (8{[} <-- Bald Vampire W/Glasses & Facial Hair (me)