home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
COLRTITL.MOD
< prev
next >
Wrap
Text File
|
1990-04-05
|
2KB
|
76 lines
Medicine Man #1 @2101
Mon Apr 02 14:36:24 1990
/*****************************************************************************
Color Titles For Msgs & Email
By: Lt. Hytiek #1@3504
The Morgue BBS
305-435-8810
This mod took me about 30 seconds to figure out, and will take you
about 30 seconds to implant within your source code. First, load
up your MSGBASE.C file, and search for 'void inmsg' go down till
you reach the code below... and follow the steps...
Also... If you are using the CUSS MOD, the users will NOT be able
to cuss within the titles! To use the color within the titles...
Just act like you are typing a msg, (^P#).
*****************************************************************************/
== Original Code
-- Code to delete
++ Code to add
== for (i=0; i<maxli; i++)
== lin[i*LEN]=0;
== ro[0]=0;
==}
==nl();
==helpl=6;
==if (okansi()) {
== outstr("\x1b[2J");
== prt(2,"Title: ");
-- mpl(60); /* Delete this line */
-- inputl(title,60); /* Delete this line */
++ inli(title,ro,70,1); /* Add this line */
==} else {
== outstr("\x1b[2J");
== pl(" (---=----=----=----=----=----=----=----=----=----=----=----)");
== outstr("Title: ");
-- inputl(title,60); /* Delete this line */
++ inli(title,ro,70,1); /* Add this line */
==}
/***************************************************************************
Now search down to this section of code:
***************************************************************************/
== if (stricmp(s,"/TI")==0) {
== savel=0;
== helpl=26;
== if (okansi()) {
== prt(2,"Title: ");
-- mpl(60); /* Delete this line */
-- inputl(title,60); /* Delete this line */
++ inli(title,ro,70,1); /* Add this line */
== } else {
== pl(" (---=----=----=----=----=----=----=----=----=----=----=----)");
== outstr("Title: ");
-- inputl(title,60); /* Delete this line */
++ inli(title,ro,70,1); /* Add this line */
== }
== pl("Continue...");
== nl();
/***************************************************************************
Thats it! Your done... Told ya it was simple... If you enjoy
this mod, then contact 1@3504 that you're using it. Hopefully
you won't find ANY bugs... Well. Take care and have fun!
**************************************************************************