home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
TM-ULA.MOD
< prev
next >
Wrap
Text File
|
1994-08-30
|
4KB
|
150 lines
╔───────────────────────────────────────────────────────────────────────────╗
│ Mod Name: TM-MSGUP.MOD Author: Twinkie Man!!!!! │
│ │
│ Requirements: IQ of at LEAST 1 < I have nothing to put here > │
│ < So I am filling it with > │
│ WWIV Version: 4.23+ < This neat0 paragraph! > │
│ │
│ Files Affected: BBS.C │
│ │
│ Description: Lame Mod tht asks if │
│ If you would like to upload a message │
│ when you go to post! │
╠───────────────────────────────────────────────────────────────────────────╣
└───────────────────────────────────────────────────────────────────────────┘
Disclaimer:
If your computer becomes possesed and eats your Mother in Law, then consider
yourself lucky!
Extended Description:
OK...It is a dink mod that will ask the user if they would like to Upload
there message when they go to post...Just like Obvlivion/2, ViSiON-X, and so
on...There are a few things I am unable to fix, MAINLY because I am a dinky
programmer...For instance, if you have an SL of 255, and you say YES to
U/L'ing the message, it will act as if you did a //LOAD, which means, any
remotes you may have will NEED to do a //UPLOAd due to the fact a //LOAd
gets data from the SysOp's HD! If anyone has any suggestions, PLEASE update
this and re-post it!
──────( Step One )───────── ─ ─
Back up your source...It is like a 10 line mod, but some of you idiots out
there just MAY mess up!
──────( Step Two )───────── ─ ─
Open up BBS.C and search for the following:
= case 'P':
= irt[0]=0;
= irt_name[0]=0;
= grab_quotes(NULL, NULL);
= if (usub[0].subnum!=-1)
= post();
= break;
──────( Step Three )───────── ─ ─
Delete or comment that out and replace it with this one:
case 'P':
outstr("9Would you like to Upload a message?");
if(yn()) {
if(actsl>254) {
nl();
prt(2,get_string(7));
input(s1,50);
if (s1[0]) {
nl();
load_workspace(s1,0);
}
} else
upload_post();
load_workspace(s1,0);
} else
irt[0]=0;
irt_name[0]=0;
grab_quotes(NULL, NULL);
if (usub[0].subnum!=-1)
post();
break;
──────( Step Four )───────── ─ ─
Save BBS.C and open MSGBASE1.C. Search for the following:
case 'P':
irt[0]=0;
irt_name[0]=0;
case 'W':
p2=msgs[msgnum];
grab_quotes(&(p2.msg),subboards[curlsub].filename);
post();
resynch(cursub, &msgnum, &p2);
grab_quotes(NULL, NULL);
break;
and replace it with this:
case 'P':
outstr("9Would you like to Upload a message?");
if(yn()) {
if(actsl>254) {
nl();
prt(2,get_string(7));
input(s1,50);
if (s1[0]) {
nl();
load_workspace(s1,0);
}
} else
upload_post();
load_workspace(s1,0);
} else
irt[0]=0;
irt_name[0]=0;
grab_quotes(NULL, NULL);
if (usub[0].subnum!=-1)
post();
break;
case 'W':
outstr("9Would you like to Upload a message?");
if(yn()) {
if(actsl>254) {
nl();
prt(2,get_string(7));
input(s1,50);
if (s1[0]) {
nl();
load_workspace(s1,0);
}
} else
upload_post();
load_workspace(s1,0);
} else
p2=msgs[msgnum];
grab_quotes(&(p2.msg),subboards[curlsub].filename);
post();
resynch(cursub, &msgnum, &p2);
grab_quotes(NULL, NULL);
break;
────────────────────────────────────────────────────────────────────────────────
That's it! As you can see, A dink mod!