home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
ELRIC7.MOD
< prev
next >
Wrap
Text File
|
1990-04-21
|
2KB
|
70 lines
Once again, another mod to a mod by Lord Elric....
This mod fixes an oversight in the THISUSER mod from MrBill. What this
mod does is lets you name a message base THISUSER, and whoever is logged
on will see the message base name as "Lord Elric's Personal Base", or
"MrBill's Personal Base", or whatever. However, one of my users pointed
out one place where he neglected to change the base name, so here it is.
Load up MSGBASE1.C, and look for void remove_post, and make these changes
to it.....
nl();
pl("No subs available.");
nl();
return;
}
any=0;
abort=0;
nl();
nl();
/* mod starts here */
if strcmp(subboards[curlsub].name,"THISUSER") /* add */
sprintf(s,"Posts by you on %s's Personal Base",thisuser.name); /* add */
else /* add */
sprintf(s,"Posts by you on %s",subboards[curlsub].name); /* change */
/* end of first part, look down a few lines...... */
pl(s);
nl();
for (i=1; (i<=nummsgs) && (!abort); i++) {
if ((msgs[i].ownersys==0) && (msgs[i].owneruser==usernum)) {
any=1;
sprintf(s,"%d: %s",i,msgs[i].title);
pla(s,&abort);
}
}
if (!any) {
pl("None.");
if (!cs())
return;
}
nl();
prt(2,"Remove which? ");
input(s,3);
i=atoi(s);
if ((i>0) && (i<=nummsgs)) {
if (((msgs[i].ownersys==0) && (msgs[i].owneruser==usernum)) || (lcs())) {
/* more changes here...... */
if strcmp(subboards[curlsub].name,"THISUSER") /* add */
sprintf(s,"-%s removed from %s's Personal Base", /* add */
msgs[i].title,thisuser.name); /* add */
else /* add */
sprintf(s,"-%s removed from %s", /* original code */
msgs[i].title,subboards[curlsub].name);
/* end of mod */
sysoplog(s);
delete(i);
That's all there is to it. I highly reccomend the THISUSER mod, really
freaks people out when they see their name as the base name....and if you
were really sadistic, you can just as easily use their real name, or
their password.....
Lord Elric
1@8251