TW08.MOD -- Extended automessage mod for 4.xx? 4.22 at least The Warlord #1 @17306 Sat Mar 13 19:55:54 1993 5To7: 1Everyone ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Mod Name: TW08.MOD Mod Author: The Warlord ³ ³ Difficulty: ±°°°°°°°°° Date: 03/13/93 ³ ³ WWIV Version: 4.22 (others, too) ³ ³ Files Affected: MISCCMD.C, FCNS.H ³ ³ Description: This is an extended auto-message mod, see features below. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Ä Features Ä þ 10 lines, instead of only 3 þ 70 characters per line, instead of only 39 þ Pretty colors all over :) þ You can use colors in the automessage þ Sysop or automessage author can delete the automessage þ /S ends automessage, if it's not 10 lines long. þ /ABT aborts the automessage [ Step 1 ]: Back up your source! This is always a good idea.. There could be a little cockroach or two in this mod somewhere. :) Example backup command line: pkzip -ex -u source.zip *.c *.h *.mak [ Step 2 ]: Load up MISCCMD.C, and delete the functions: void read_automessage() void write_automessage1() void write_automessage() Block copy the following 3 functions in their place: void read_automessage() { int i,i1,i2,i3,f,len,ptrbeg[10],ptrend[10],temp; char s[81],l[11][81],anon,buf[512]; slrec ss; temp=curatr; sprintf(s,"%sAUTO.MSG",syscfg.gfilesdir); f=open(s,O_RDWR | O_BINARY); nl(); anon=status.amsganon; if (f<1) { nl(); title("No Auto-Message!"); nl(); } else { len=read(f,(void *)buf,512); close(f); for (i=0; i<10; i++) { ptrbeg[i]=0; ptrend[i]=0; } i=0; i1=0; i2=0; for(i=0; i