home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
APOG008B.MOD
< prev
next >
Wrap
Text File
|
1995-06-11
|
4KB
|
135 lines
Charlie La Guardia #1 @9053
Mon Jun 05 22:28:03 1995
╓───────────────────────────────────────────────────────────────╖
║ MODname: APOG008B.MOD Author: Charlie La Guardia ║
║ Difficulty:▓▓▓▓░░░░░░ 1 @1 AstralNET ║
║ Version: v4.24 1 @3 LOCnet ║
║ Description: 1 @6 HOINet ║
║ Puts the name of the network for the 1 @2302 Cyberia ║
║ current sub at the main menu and message 1 @4100 IceNET ║
║ read prompts. Upgrade for v4.24. 1 @4100 TerraNET ║
║ 1 @4100 SierraLink ║
║ 1 @9053 WWIVnet ║
╙───────────────────────────────────────────────────────────────╜
Key:
/*==*/ Existing Line
/*++*/ Add This Line
/*--*/ Comment Out This Line
/*%%*/ Change This Line
Step (1) - Alrighty, first, back up your source. If as a result of installing
this mod, your computer goes crazy and kills 3008 baby centipedes in
southeastern Phillipino, it's NOT my fault.
Step (2) - Open up BBSOVL1.C and install this function at the end of the file.
void netname(void)
{
char *ss, s3[81];
if (E_C) {
if (net_sysnum || (net_num_max>1)) {
if (xsubs[usub[cursub].subnum].num_nets) {
if (xsubs[usub[cursub].subnum].num_nets>1)
ss=get_string(1022);
else
ss=stripcolors(net_networks[xsubs[usub[cursub].subnum].nets[0].net_num].name);
if (subboards[usub[cursub].subnum].anony & anony_val_net)
sprintf(s3,"7[1%s7]\r\n",ss);0
else
sprintf(s3,"7<1%s7>\r\n",ss);0
} else
sprintf(s3,"7[1Local7]\r\n");0
} else {
sprintf(s3,"7[1Local7]\r\n");0
}
} else {
if (net_sysnum || (net_num_max>1)) {
if (xsubs[usub[cursub].subnum].num_nets) {
if (xsubs[usub[cursub].subnum].num_nets>1)
ss=get_string(1022);
else
ss=stripcolors(net_networks[xsubs[usub[cursub].subnum].nets[0].net_num].name);
if (subboards[usub[cursub].subnum].anony & anony_val_net)
sprintf(s3,"[%s]\r\n",ss);
else
sprintf(s3,"<%s>\r\n",ss);
} else
sprintf(s3,"[Local]\r\n");
} else {
sprintf(s3,"[Local]\r\n");
}
}
prt(2,s3);
}
Step (3) - Save BBSOVL1.C and open up MMENU.C. Add this to mainmenu().
/*==*/ if (s2[0]==0)
/*==*/ sprintf(s2,"[%s%s] [%s] :",
/*==*/ useconf?get_string(1398):"",
/*==*/ usub[cursub].keys,
/*==*/ stripcolors(subboards[usub[cursub].subnum].name));
/*==*/ }
/*++*/ netname();
/*==*/ if (useconf) {
/*==*/ ansic(2);
/*==*/ pl(s1);
/*==*/ }
/*==*/#ifdef RIPDRIVE
Step (4) - Save MMENU.C and open up MSGBASE1.C. Delete, add, and change the
following lines as marked.
/*==*/ void scan(int msgnum, int optype, int *nextsub)
/*==*/ {
/*%%*/ char s[161],s1[81],s4[81],*b,*ss1;
/*==*/
/*==*/ char *fstr, ch, s2[81];
/*==*/ int fnd, sdir=1, lmt;
/*==*/ if (express) {
/*==*/ s[0]=0;
/*==*/ nln(2);
/*==*/ } else {
/*==*/ if (E_C) {
/*--*/ sprintf(s1,"7[1%s7] [1%s7]",usub[cursub].keys,0
/*--*/ subboards[usub[cursub].subnum].name);
/*++*/ sprintf(s1,"7[1%s7]",usub[cursub].keys);0
/*++*/ sprintf(s4,"7[1%s7]",subboards[usub[cursub].subnum].name);0
/*==*/ } else {
/*--*/ sprintf(s1,"[%s] [%s]",usub[cursub].keys,
/*--*/ subboards[usub[cursub].subnum].name);
/*++*/ sprintf(s1,"[%s]",usub[cursub].keys);
/*++*/ sprintf(s4,"[%s]",subboards[usub[cursub].subnum].name);
/*==*/ }
/*%%*/ ansic(2); netname(); pl(s1);
/*==*/ prt(2,s);
/*==*/ helpl=16;
/*==*/ input(s,5);
/*==*/ resynch(cursub, &msgnum, NULL);
Step (5) - Save MSGBASE1.C and add void netname(void); to FCNS.H.
Step (6) - Recomplile and enjoy.
If you use this mod, please send mail to one of the following addresses:
1 @1 AstralNET
1 @3 LOCnet
1 @6 HOINet
1 @2302 Cyberia
1 @4100 IceNET
1 @4100 TerraNET
1 @4100 SierraLink
1 @9053 WWIVnet
Thanks!
7President 2CHARLIE!0
7La Guardia0