MJW1a.mod Rev.a to add non-ANSI support Avenger #1 @6494 Thu Apr 08 20:35:52 1993 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Mod Name: MJW01a.MOD Mod Author: Avenger @6494 WWIVNet, IceNET ³ ³ Difficulty: Simple Block Copy Date: April 8, 1993 ³ ³ WWIV Version: 4.22 ³ ³ Files Affected: BBSUTL.C ³ ³ Description: Better looking "Yourinfo" with boxed outline. ³ ³ Revision "a" adds back in the yourinfo screen for non-ANSI users ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ DESCRIPTION... Put's user's information inside of a box and adds multi-colors. DISCLAIMER... Works on Michael's Madness... If something goes wrong and it makes you feel better, blame me. Please back up your source code just in case. I usually do a "pkzip -f source *.c *.h *.mak" to freshen all the important files. Step One... Go into BBSUTL.C, and search for "void yourinfo(void)." Delete the entire void. Step Two... Block read this VOID YOURINFO in place of it and join the lines that were split due to being over 80 characters long. /* **** Begin Block Copy Here MJW1a.mod 04/08/93 **** */ void yourinfo(void) { if (okansi()){ clearscreen(); nl();nl();nl(); pl("2 Your Information presented by");0 pl("1 Michael's Madness"); /*Change to the 0 name of your board*/ pl("3 ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸"); /* c0 hange the colors to your liking */ npr("3 ³9 Alias 3³7 %-18s3³\r\n",nam(&thisuser,0 usernum)); /* by changing the numbers */ npr("3 ³9 Real Name 3³7 %-18s3³\r\n",thisuser.realn0 ame); /* after the hearts */ npr("3 ³9 Voice Phone 3³7 %-18s3³\r\n",thisuser.phone0 ); npr("3 ³9 Data Phone 3³7 %-18s3³\r\n",thisuser.datap0 hone); npr("3 ³9 Security Level 3³7 %-18d3³\r\n",thisuser.sl,ac0 tsl); npr("3 ³9 Last On 3³7 %-18s3³\r\n",thisuser.lasto0 n); npr("3 ³9 Times On 3³7 %-18d3³\r\n",thisuser.logon0 s); npr("3 ³9 On Today 3³7 %-18d3³\r\n",thisuser.ontod0 ay); npr("3 ³9 Mail Waiting 3³7 %-18d3³\r\n",thisuser.waiti0 ng); npr("3 ³9 E-Mail Sent 3³7 %-18d3³\r\n",0 (thisuser.emailsent+thisuser.feedbacksent+thisuser.emailnet)); npr("3 ³9 Messages Posted 3³7 %-18d3³\r\n",thisuser.msgpo0 st); npr("3 ³9 Total Time On 3³7 %-18ld3³\r\n",(long)0 ((thisuser.timeon+timer()-timeon)/60.0)); pl("3 ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");0 nl();nl();nl(); pausescr(); clearscreen(); } else { outchr(12); /* This is the original void that will support */ outstr(get_string(602)); pl(nam(&thisuser,usernum)); /* non-ANSI users */ outstr(get_string(603)); pl(thisuser.phone); if (thisuser.waiting) { outstr(get_string(365)); npr("%d\r\n",thisuser.waiting); } outstr(get_string(604)); npr("%d",thisuser.sl); if (actsl!=thisuser.sl) { outstr(get_string(605)); npr("%d",actsl); pl(")"); } else nl(); outstr(get_string(606)); pln(thisuser.dsl); outstr(get_string(366)); pl(thisuser.laston); outstr(get_string(607)); pln(thisuser.logons); outstr(get_string(608)); pln(thisuser.ontoday); outstr(get_string(609)); pln(thisuser.msgpost); outstr(get_string(610)); pln((thisuser.emailsent+thisuser.feedbacksent+thisuser.emailnet)); outstr(get_string(611)); npr("%ld",(long) ((thisuser.timeon+timer()-timeon)/60.0)); pl(get_string(612)); nl(); } } /* **** End Block Copy **** */ Feel free to change the colors to your liking. If you don't have a mod in that lets you have the two extra colors, you'll not be able to use colors 8 or 9. Step Three... Type "MAKE", copy the new version of "BBS.EXE" to the board's directory and enjoy. Please address comments, questions and sugestions to: Avenger @6494 IceNET, WWIVNet. All corespondence would be greatly appreciated. Please drop a note if you use this mod. 8ÖÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ· 7ºMichael's Madness @6494 WWIVNet,IceNETº 6º @110 OhioNet 14.4 24 Hours ASV º 5ÓÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĽ