home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
DC001.MOD
< prev
next >
Wrap
Text File
|
1995-06-17
|
4KB
|
145 lines
Dale Cooper #1 @10118
Mon Jun 12 12:31:25 1995
╔══════════════════════════════════════════════════════════════════════════╗
║ MOD :DC001.MOD RE: Titles in Posts ║
║ DATE :12/05/95 ║
║ USAGE :WWIV 4.24 ║
║ VERSION :C ( I dunno just that it's the 4.24 Update) ║
║ Descrip.:Read extened info below ║
║ Diff. :2 (on a scale of 1-10, 1 being easy) ║
║ Author :Dale Cooper 1@10118WWIVnet 1@1 DINER.COM ║
║ BBS :The Double R Diner ║
╚══════════════════════════════════════════════════════════════════════════╝
│─ [ Modding codes ] │ WARNING!!! I Dale Cooper aka Raymond Morse take
│ │ take no responsiblity what so ever for what this
│ = Existing Code │ might do to your system. I did not force you to
│ + Add This Code │ use this. All code is copywright (c) Wayne Bell,
│ - Delete This Code │ WSS. Any use of this code to non-registered
│ % Modify This Code │ sysops is a breach of copywright. In other words
│ .-.. Morse Code │ register already if you haven't. :)
╚─────────────────────────╝
Desc : This mod was something I always wanted but could never find a mod
that did just this. What this mod does is that when replying to a
post or e-mail it will look something like the below.
Enter Subject or Press [Return] for - RE: 4.24 Mods
Title:
Simple mod and works well too, I have tested this for along time,
and with 4.24 coming out it was just a small little change.
The Mod.......................
Step 1 : Open MSGBASE.C and search for the marked lines.
= }
= for (i=0; i<maxli; i++)
= lin[i*LEN]=0;
= ro[0]=0;
= }
=
= nl();
= helpl=6;
= if (okansi()) { //Search For this
Step 2 : Right after the above (okansi()) line add the below block.
/* Begin DC001.MOD */
if (irt[0]) {
if (strnicmp(stripcolors(irt),"Re:",3)!=0)
npr("7Enter Subject or Press 9[1Return9] 7for i- 1REi: 9%-32.32s",irt);0
else
npr("7Enter Subject or Press 9[1Return9] 7for i- 9%-32.32s",irt);0
}
nl();
prt(2,"7Subject 9: ");0
mpl(60);
inputl(title,60);
if (irt[0]) {
if (title[0]==0) {
if (strnicmp(stripcolors(irt),"Re:",3)!=0)
sprintf(title,"Re: %s",irt);
else
sprintf(title,"%s",irt);
}
}
if ((title[0]==0) && (needtitle)) {
pl(get_string(14));
m.stored_as=0xffffffff;
*m1=m;
if (!fsed)
farfree((void *)lin);
setiia(oiia);
if (menu_on())
rip_restoreall();
return;
}
}
} else {
if (irt[0]) {
if (strnicmp(stripcolors(irt),"Re:",3)!=0)
npr("Enter Subject or Press [Return] for - RE: %-32.32s",irt);
else
npr("Enter Subject or Press [Return] for - %-32.32s",irt);
}
nl();
outstr("Subject :");
inputl(title,60);
if (irt[0]) {
if (title[0]==0) {
if (strnicmp(stripcolors(irt),"Re:",3)!=0)
sprintf(title,"Re: %s",irt);
else
sprintf(title,"%s",irt);
}
}
if ((title[0]==0) && (needtitle)) {
pl(get_string(14));
m.stored_as=0xffffffff;
*m1=m;
if (!fsed)
farfree((void *)lin);
setiia(oiia);
if (menu_on())
rip_restoreall();
return;
}
}
/* End DC001.MOD*/
Step 3 : Now either delete the below lines or comment them out.
/* Delete or Comment out from here
prt(2,get_string(1006));
mpl(60);
inputl(title,60);
} else {
pl(get_string(626));
outstr(get_string(1006));
inputl(title,60);
}
if ((title[0]==0) && (needtitle)) {
pl(get_string(14));
m.stored_as=0xffffffff;
*m1=m;
if (!fsed)
bbsfree((void *)lin);
setiia(oiia);
if (menu_on())
rip_restoreall();
return;
}
to here. */
Step 4: Save MSGBASE.C and recompile your done.
Couldn't be much simpler to install. Let me know if you have any trouble or
if you have ideas for something in this mod.
Dale Cooper
dcooper@winternet.com
1@10118WWIVnet
1@1 DINER.COM
1:282/2085 FIDOnet