Nite02.Mod : Color Messages & Save Dgroup. Nitefyre #1 @6956 Fri Dec 27 23:01:51 1991 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Mod Name: Nite02 Mod Author: Nitefyre ³ ³ Difficulty: Basic Date: December 29, 1991 ³ ³ WWIV Version: 4.20 ³ ³ Description: This mod saves a little Dgroup space while enabling ³ ³ colored message titles. ³ ³ Affected Files: Msgbase.C ³ ³ Steps: 6 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Verbose Description: There are plenty of mods out there to enable colored message titles. Actually anyone who knows even the slightest bit of C code could figure out how to enable it by themselves. This is for the few novices that don't. You'll also clean up some source too, that you really didn't need in my opinion. STEP ONE: Backup your source code. STEP TWO: Load up Msgbase.C and search for "void inmsg". Once down there, page down a little until you find the below code, then delete the marked lines. = nl(); = helpl=6; - if (okansi()) { /* Delete from here */ - prt(2,"Title: "); - mpl(60); - inputl(title,60); - } else { - pl(" (---=----=----=----=----=----=----=----=----=----=----=----)"); - outstr("Title: "); - inputl(title,60); - } /* Down to here */ = if ((title[0]==0) && (needtitle)) { = pl("Aborted."); = m.stored_as=0xffffffff; STEP THREE: In that same exact space, insert the following few marked lines. = nl(); = helpl=6; + prt(2,"Title: "); /* Insert from here */ + ro[0]=0; + inli(title,ro,70,1); = if ((title[0]==0) && (needtitle)) { /* Down to here */ = pl("Aborted."); = m.stored_as=0xffffffff; STEP FOUR: Search down some more until you find the part that allows users to change message titles while editing a message. It looks like the following. Once again, delete the marked lines. = if (stricmp(s,"/TI")==0) { = savel=0; = helpl=26; - if (okansi()) { /* Delete from here */ - prt(2,"Title: "); - mpl(60); - inputl(title,60); - } else { - pl(" (---=----=----=----=----=----=----=----=----=----=----=----)"); - outstr("Title: "); - inputl(title,60); /* Down to here */ = } = pl("Continue..."); STEP FIVE: Now, once again in the same exact space, insert the following marked lines. = if (stricmp(s,"/TI")==0) { = savel=0; = helpl=26; + prt(2,"Title: "); /* Add from here */ + ro[0]=0; + inli(title,ro,70,1); /* Down to here */ = pl("Continue..."); STEP SIX: Save and recompile your source code. Very basic, like I said, most people probably won't even need the mod. The idea will be useful to the experts, and the mod to the novices. Until later, have fun and Merry Christmas (Mod was written during holiday season). Nitefyre 1@6956 (WWIVnet) 1@16976 (WWIVlink)  7______ô 2 The Dark Ages 1 ú 2 619-434-1482 1 ú 2Carlsbad, California 7ô______ 7 õ 2 WWIVnet @69561 ú2 WWIVLink @16976 1 ú 2Auto-Validation 7õ