home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / SPV-028B.MOD < prev    next >
Text File  |  1995-05-31  |  6KB  |  144 lines

  1. Papa Bear #1 @11579
  2. 7Sunday1, 7May 281, 71995 2 26:257 pm
  3. 0R 34 05/31 06:23 WWIVnet ->8339
  4. 0R 34 05/31 00:27 WWIVnet 8314->8304
  5. 0R 34 05/30 23:27 WWIVNET 4001->8314
  6. 0R 34 05/30 13:17 WWIVnet 4000->4001
  7. 0R 34 05/30 04:41 WWIVnet ->4000
  8. 0R 34 05/29 07:41 WWIVnet 4001->4000
  9. 0R 34 05/29 12:44 WWIVnet 11579->4001
  10. 0R 34 05/28 14:57 WWIVnet ->11579
  11. 4Msg. Status:9▄ 5Please reply!
  12. 9 ▀▀▀▀▀▀▀▀▀▀▀▀
  13. ┌────────────────────────────A CEREBRUM RELEASE!─────────────────────────────┐
  14. │ Mod Name: SPV-028B.MOD     Mod Authors: Pâpâ ßêâr (1@11579.wwivnet)        │
  15. │ Difficulty: ▓░░░░░░░░░     First ... [12/27/93]                            │
  16. │ WWIV Version: 4.24         Last .... [05/28/95]                            │
  17. │ Files Affected: MSGBASE.C                                                  │
  18. │ Description: Replaces the bland RE: and BY: line with a nice colored box   │
  19. │ and shadow.  Small reply [not] requested as well. Allows user to enter     │
  20. │ their own reply requested lines.                                           │
  21. ╞═────────────────────────────────────═╤═───────────────────────────────────═╡
  22. │ StarPort Valhalla [   ]   -     ASV 28.8kbps  Home of the SPV mod series!  │
  23. └─────────────────────────────────────═╧═────────────────────────────────────┘
  24.  
  25.                      >>> OFFICIAL WWIV SUPPORT SITE! <<<
  26.  
  27.  Word of Warning:  You installed it, you're responsible! Make back─ups BEFORE
  28.  attempting to install this modification!  Read all text before beginning.
  29. ─────────────────────────────────────────────────────────────────────────────
  30.  LEGEND:
  31.  ==  Original Code [use this to search on]
  32.  ++  Add this Line [mods ALWAYS add stuff, don't they?]
  33.  --  Delete this Line [or comment out, its not needed]
  34. ─────────────────────────────────────────────────────────────────────────────
  35.  LONG DESCRIPTION: Simple I've been using this for quite some time.  I've
  36. recently had some people ask me if I'd mak a mod of it and post it.  Okay,
  37. here it is!
  38.  Mind you, this code is BASED on some really old pieces that I had that did
  39. similar things.
  40.  REVISION "A" Adds:
  41.  The ability to let the user enter their own reply requested line.  50
  42. charaters long.  If they just press enter, it defaults to "Reply if you want
  43. to...".  Allows for a colored reply requested input, as well.
  44.   TO UPGRADE: Replace the block of code in STEP 2.
  45. ─────────────────────────────────────────────────────────────────────────────
  46. STEP 1: In MSGBASE.C, in the void inmsg(...) function:
  47.  
  48. ==        case anony_real_name:
  49. ==          real_name=1;
  50. ==          *anony=0;
  51. ==          break;
  52. ==      }
  53. // SPV-028B MOD BLOCK INSERT START
  54.       nl();
  55.       npr(
  56.       "5Do you want a reply? 2Y1es3/1no3/1(w)rite your own6: 0");
  57.       chx=onek("Y\rNW");
  58.       switch (chx) {
  59.         case '\r':
  60.         case 'Y':
  61.           strcpy(ro,"6Please reply!0");
  62.           break;
  63.         case 'N':
  64.           strcpy(ro,"1No reply necessary!0");
  65.           break;
  66.         case 'W':
  67.           nl();
  68.           pl(
  69.    "5Enter your personalized reply requested line 3(1505 chars3)2:0");
  70.           npr(">");
  71.           mpl(50);
  72.           inli(ro,"",50,1);
  73.           if (ro[0]==NULL)
  74.             strcpy(ro,"3Reply if you want to...0");
  75.           break;
  76.       }
  77.       nl();
  78. // SPV-028B MOD BLOCK INSERT END
  79. ==      if (fsed) {
  80. ==        i5=sh_open1(fnx,O_RDONLY | O_BINARY);
  81. ==        l1=filelength(i5);
  82. ─────────────────────────────────────────────────────────────────────────────
  83. STEP 2: Same function, a down a little more:
  84.  
  85. ==      addline(b,nam1(&thisuser,usernum,net_sysnum),&l1);
  86. ==    time(&ll);
  87. ==    s[strlen(s)─1]=0;
  88. ==    addline(b,s,&l1);
  89. // START SPV-028B MOD CHANGES/REPLACEMENT
  90.   // Remove this block of code.
  91. --    if (irt[0]) {
  92. --      sprintf(s,"%s%s",get_string(940),irt);
  93. --      addline(b,s,&l1);
  94. --      if (irt_name[0]) {
  95. --        sprintf(s,"%s%s",get_string(941),irt_name);
  96. --        addline(b,s,&l1);
  97. --      }
  98. --      addline(b,"",&l1);
  99. --    }
  100.   // Done removing code, now add this block.
  101.       if (irt[0]) {
  102.         sprintf(s,"4Responding :3▄ %s0",irt);
  103.         addline(b,s,&l1);
  104.         if (irt_name[0]) {
  105.           sprintf(s,"4Written By :3█ 1%s0",irt_name);
  106.           addline(b,s,&l1);
  107.         }
  108.         sprintf(s,"4Msg. Status:3█ 1%s0",ro);
  109.         s[thisuser.screenchars]=0;
  110.         addline(b,s,&l1);
  111.       } else {
  112.         sprintf(s,"4Msg. Status:3▄ 1%s0",ro);
  113.         s[thisuser.screenchars]=0;
  114.         addline(b,s,&l1);
  115.       }
  116.       sprintf(s,"3 ▀▀▀▀▀▀▀▀▀▀▀▀0\r\n");
  117.       addline(b,s,&l1);
  118. // END SPV-028B MOD CHANGES/REPLACEMENT
  119. ==    if (fsed) {
  120. ==      ll=filelength(i5);
  121. ==      sh_read(i5, (void *) (& (b[l1]) ),ll);
  122. ─────────────────────────────────────────────────────────────────────────────
  123.   Here ya go!  E-Mail me if you like this and are using this!
  124.  
  125.     This mod is copyright 1993,1994 by Tracy Baker, aka Papa Bear, and is
  126.  distributed as freeware.  Permission is granted to distribute and post this
  127.    mod on BBS systems and online services, provided no alterations are made
  128.   (removal of message headers/taglines allowed).  This mod may contain some
  129.   parts of WWIV source code, which is copyright 1988─1994 by Wayne Bell and
  130.     licensed only to registered users of WWIV.  Use of WWIV source without
  131.      registration constitutes a license violation and could lead to legal
  132.                         prosecution and certain doom.
  133.    Shareware distributors and CD─ROM publishers may not distribute this mod
  134.  without express written permission of the Author or WWIV Software Services.
  135.  
  136. 7-9=1*6>2Pâpâ ßêâr6<1*9=7-0
  137.  
  138. 8311579.wwivnet1· 2 ╪╫9≡8║7⌐¬4¥5╓╥╖1·     ·     2▒1 ·   2▒       3(510)522-35831    ·
  139. 732.sexnet  1∙   6 ·0░░▒▒▓▓6∞0▓▒░6·2 StarPort   ▒   ▒ 2 ▒1  ·2▒   ▒ ▒1 ·2 ▒   ▒1  ·2▒     ▒ 1·
  140. 6315061.wwivlink    0 ████1 ·     .       2  ▒ ▒  ▒ ▒  ▒1 · 2▒▒▒  ▒ ▒  ▒   ▒    ▒ ▒
  141. 535079.icenet 1.  .  0 │└6·0└6· 1     ∙         2 ▒  ▒   ▒ ▒▒▒ ▒ ▒ ▒1 ·2 ▒ ▒▒▒ ▒▒▒ ▒1 ∙ 2▒
  142. ---
  143. 5Dear Antie Em:  Hate you, hate Kansas, takin' the dog.
  144.