home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
SPV0028.423
< prev
next >
Wrap
Text File
|
1994-01-03
|
4KB
|
104 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: SPV-028.MOD Mod Authors: Pâpâ ßêâr (1@5079 WWIV/IceNET) │
│ Difficulty: ▓░░░░░░░░░ [12/27/93] (1@5050 SEX/JAMDnet) │
│ WWIV Version: 4.23 (1@15061 WWIVlink) │
│ Files Affected: MSGBASE.C (1@18 CARDNet) │
│ Description: Replaces the bland RE: and BY: line with a nice colored box │
│ and shadow. Small reply [not] requested as well. │
╞═────────────────────────────────────═╤═───────────────────────────────────═╡
│ StarPort Valhalla [510]522-3583 ASV 14.4kbps Home of the SPV mod series! │
╘═────────────────────────────────────═╧═───────────────────────────────────═╛
Word of Warning: You installed it, you're responsible! Make back-ups BEFORE
attempting to install this modification! Read all text before beginning.
-----------------------------------------------------------------------------
LEGEND:
== Original Code [use this to search on]
++ Add this Line [mods ALWAYS add stuff, don't they?]
-- Delete this Line [or comment out, its not needed]
-----------------------------------------------------------------------------
LONG DESCRIPTION: Simple I've been using this for quite some time. I've
recently had some people ask me if I'd mak a mod of it and post it. Okay,
here it is!
Mind you, this code is BASED on some really old pieces that I had that did
similar things.
-----------------------------------------------------------------------------
STEP 1: Open MSGBASE.C, and go to the function: void inmsg(...)
ADD THIS VARIABLE DECLARATION:
== char s[181],s1[181],ro[81],fnx[81],chx,*ss,*ss1, fn1[81], fn2[81],*nd;
++ char reply[81]; // SPV-028
== int maxli,curli,done,save,savel,i,i1,i2,i3,i4,i5,setanon,oiia;
-----------------------------------------------------------------------------
STEP 2: Further down, same function: [they're ALL in the same function]:
== case anony_real_name:
== real_name=1;
== *anony=0;
== break;
== }
// SPV-028 MOD BLACK INSTERT START
++ nl();
++ prt(5,"Do you want a reply? ");
++ if (ny())
++ strcpy(reply,"Please reply!");
++ else
++ strcpy(reply,"Reply not necessary!");
++ nl();
// SPV-028 MOD BLACK INSTERT END
== if (fsed) {
== i5=sh_open1(fnx,O_RDONLY | O_BINARY);
== l1=filelength(i5);
-----------------------------------------------------------------------------
STEP 3: Same function, a down a little more:
== addline(b,nam1(&thisuser,usernum,net_sysnum),&l1);
== time(&ll);
== s[strlen(s)-1]=0;
== addline(b,s,&l1);
// START SPV-028 MOD CHANGES/REPLACEMENT
-- 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);
-- }
++ if (irt[0]) {
++ sprintf(s,"Responding :▄ %s",irt);
++ addline(b,s,&l1);
++ if (irt_name[0]) {
++ sprintf(s,"Written By :█ %s",irt_name);
++ addline(b,s,&l1);
++ }
++ sprintf(s,"Msg. Status:█ %s",reply);
++ s[thisuser.screenchars]=0;
++ addline(b,s,&l1);
++ } else {
++ sprintf(s,"Msg. Status:▄ %s",reply);
++ s[thisuser.screenchars]=0;
++ addline(b,s,&l1);
++ }
++ sprintf(s," ▀▀▀▀▀▀▀▀▀▀▀▀\r\n");
++ addline(b,s,&l1);
// END SPV-028 MOD CHANGES/REPLACEMENT
== if (fsed) {
== ll=filelength(i5);
== sh_read(i5, (void *) (& (b[l1]) ),ll);
-----------------------------------------------------------------------------
Welppers, that SHOULD be it. Not too tough. I ripped this outta working
4.23 code, so if soomething ends up missing, please E-Mail me and we'll get
it working for you.
Come to think of it, E-Mail me anyway!
-=*>Pâpâ ßêâr<*=-
StarPort Valhalla ASV 510-522-3583════════════════────────────────────────────
---
Trial and error is still faster than .DOC.