home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
AST002.MOD
< prev
next >
Wrap
Text File
|
1994-04-04
|
6KB
|
156 lines
Asterius, Master Of Thought #95 @8
Fri Apr 01 22:23:36 1994
0R: net33: @1 (via @2) [03:47 04/04/94]
0R: net33: @2 [10:31 04/03/94]
0R: net33: @2 (via @22) [00:43 04/02/94]
0R: net33: @22 (via @8) [23:06 04/01/94]
0R: net33: @8 [22:53 04/01/94]
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: AST002.423 Mod Author: Asterius, │
│ Master of Thought │
│ Difficulty: Easy, but tricky! Date: 4/1/94 │
│ WWIV Version: 4.23 and up! │
│ Description: This mod lets you put the notes next to people's names in │
│ emails and posts! │
│ Files Affected: MSGBASE.C, VARS.H (Sorry!) │
│ MOD's Borrowed to Make This One: BJ002.423, ZEEK0001.423 │
└────────────────────────────────────────────────────────────────────────────┘
╔════════════════════════════════════════════════════════════════════════════╗
║ This mod is copyright 1994, 1995 by Asterius, Master of Thought and is ║
║ distributed as freeware. Permission is granted to distribute and post ║
║ this mod on BBS systems and online services, provided no alterations ║
║ are made (removal of message headers/taglines allowed). This mod may ║
║ contain some parts of WWIV source code, which is copyright 1988-1994 by ║
║ Wayne Bell and licensed only to registered users of WWIV. Use of WWIV ║
║ source without registration constitutes a license violation and could ║
║ lead to legal prosecution and certain doom. ║
║ ║
║ Shareware distributors and CD-ROM publishers may not distribute this mod ║
║ without express written permission of the Author or WWIV Software ║
║ Services. Distribution should be to Registered WWIV sysops only. ║
╚════════════════════════════════════════════════════════════════════════════╝
STEP 1:
do {
backup(wwiv.source);
} while (!hangup)
STEP 2:
do {
backup(wwiv.source);
} while (!hangup)
STEP 3:
READ through the mod COMPLETELY before you install it! Don't say I didn't
warn you!
STEP 4:
Open VARS.H and search for "nete[5]". Make the following changes:
dlfn[81],edlfn[81], nete[5], rank[50]; /* Add rank[50] */
Save it! You're done with VARS.H!
STEP 5:
Open up MSGBASE.C.
Put this in MSGBASE.C above "void inmsg(blah..blah)"
/* START BLOCK COPY */
void rank_titles(void)
{
if (thisuser.sl==255)
sprintf(rank,"3[1SysOp3]");
if (thisuser.sl<=254 && thisuser.sl>=250)
sprintf(rank,"3[1Co-SysOp3]");
if (thisuser.sl<250 && thisuser.sl>=40)
sprintf(rank,"3[1V.I.P. User3]");
if (thisuser.sl<40 && thisuser.sl>=30)
sprintf(rank,"3[1Visiting SysOp3]");
if (thisuser.sl<30 && thisuser.sl>=20)
sprintf(rank,"3[1Regular User3]");
if (thisuser.sl<20 && thisuser.sl>=10)
sprintf(rank,"3[1Unvalidated User3]");
if (thisuser.sl<10 && thisuser.sl>=2)
sprintf(rank,"3[1Reject of the Board3]");
if (thisuser.sl==1)
sprintf(rank,"3[1Blacklisted User3]");
if (thisuser.sl==0)
sprintf(rank,"3[6*User on Probation*3]");
}
STEP 6:
Stay in MSGBASE.C
Change this:
l1=0;
if (real_name)
addline(b,thisuser.realname,&l1);
else
addline(b,nam1(&thisuser,usernum,net_sysnum),&l1);
time(&ll);
strcpy(s,ctime(&ll));
s[strlen(s)-1]=0;
addline(b,s,&l1);
if (irt[0]) {
sprintf(s,"%s%s",get_string(940),irt);
addline(b,s,&l1);
if (irt_name[0]) {
sprintf(s,"%s%s",get_string(941),irt_name);
addline(b,s,&l1);
}
addline(b,"",&l1);
}
To this:
l1=0;
if (real_name) {
strcpy(s,thisuser.realname,&l1);
} else {
strcpy(s,nam1(&thisuser,usernum,net_sysnum));
if (thisuser.sl>=200) {
if (usernum==1)
strcat(s," 5-=3[1The 6Mighty 1SysOp3]5=-");
if (usernum==2)
strcat(s," 5-=3[1Avatar of the 6Tie3]5=-");
if (usernum==6)
strcat(s," 5-=3[1The 5Gal 1in Charge3]5=-");
}
if ((usernum!=1) && (usernum!=2) && (usernum!=6)) {
if (strlen(thisuser.note)>5) {
strcat(s," 5-=3[1");
strcat(s,thisuser.note);
strcat(s,"3]5=-");
}
if (strlen(thisuser.note)<=5) {
rank_titles();
strcat(s," 5-=");
strcat(s,rank);
strcat(s,"5=-");
}
}
addline(b,s,&l1);
}
time(&ll);
strcpy(s,ctime(&ll));
Step 7:
You're going to have to do the whole thing anyway, so MAKE FCNS, and then
MAKE the whole sucker. Good luck, and may the force be with you!
-=AUTHOR'S NOTE=-
I take NO responsibilty for this mod. I stole most of it from the two
mods listed in the box above. If you like it, or don't like it, find the
original mods and email their authors.
-=AUTHOR'S NOTE 2=-
IMPORTANT: Feel free to change the ranks and note information, simply by
replacing the information in the brackets. To add color to your names in
dos's EDIT program, type CTRL-P, and then CTRL-C to get your little 'WWIV
Heart Codes', which are followed by a number.
1
27Sven's Palace of Pleasure9∙5(410)628-75309∙324 Hours/7 Days a week!
32WoMbAtNET @1239∙3AlterNETive @41159∙4PlaNET @41079∙7DigiNET @89∙
4