home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / FMD-31A.ZIP / FMD-31A.MOD < prev   
Encoding:
Text File  |  1995-06-22  |  3.3 KB  |  85 lines

  1. Nicolas Leblanc #2 @20302
  2. Sat Jun 10 13:05:07 1995
  3.    ┌┬─── ──  ─   ─  ── ───────────────────────────────────────────────────┬─ ∙∙
  4.    ││                    Alternative Worlds Presents                      │
  5.    └┼─────────────────────────────────────────────────────────────────────┐
  6.    ││ Mod Name       » FMD-31a.MOD                                        │∙
  7.    ││ Difficulty     » █▒▒▒▒▒▒▒▒▒▒ (1/10)                                 │:
  8.    ││ WWIV Version   » 4.24                                               ││
  9.    ││ Date Affected  » 06/01/95                                           ││
  10.    :│ Files Affected » MSGBASE.C                                          ││
  11.    ∙│ Description    » Change Origin of Post if Gated                     ││
  12.     └─────────────────────────────────────────────────────────────────────┼┐
  13.     │       A French Mod Division Release - (C) 1995 FMD Software         ││
  14. ∙∙ ─┴─────────────────────────────────────────────────── ──  ─   ─  ── ───└┘
  15.  
  16.  ┌┬══════════════════┐
  17.  ││ Long Description ││
  18.   └══════════════════┴┘
  19.  
  20.   This modification will replace the original "From:" line of WWIV if the
  21. current post is gated. It will change it to "Gated:" instead, so your users
  22. will be aware that the post ain't from a precise area, but it has been
  23. gated from a specific system.
  24.  
  25. Revision A:
  26.  
  27.  - Updated for WWIV v4.24
  28.  
  29.  ┌┬═══════┐
  30.  ││ Tests ││
  31.   └═══════┴┘
  32.  
  33.   This modification has been tested on a virgin WWIV v4.24 source using
  34.   Borland C++ v4.5
  35.  
  36. ──────────────────────────────────────────────────────────────────────────────
  37.                                    Legend
  38.                           ╔═══╤══════════════════┐
  39.                           │ + │ Add This Line    │
  40.                           │ - │ Delete This Line │
  41.                           │ * │ Modify This Line │
  42.                           │ = │ Existing Line    │
  43.                           └═══╧══════════════════╝
  44. ───[Step 1]────────────────────────────────────────────────────────────────────
  45.  
  46. Load MSGBASE.C and look for the following lines:
  47.  
  48.  
  49. =       ansic_x(sysinfo.msg_color);
  50. =       plan(d,&abort,next);
  51. =        if (origin_str[0]) {
  52. +         if (n[1]=='`') {
  53. +           if (E_C)
  54. +             osan("1Gated From0.. 2",&abort,next);
  55. +           else
  56. +             osan("Gated From:  ",&abort,next);
  57. +         } else
  58. =           osan(get_string(STR_662),&abort,next);
  59. =         plan(origin_str,&abort,next);
  60. =       }
  61. =       if (origin_str2[0]) {
  62.  
  63.  
  64. ───[Step 2]────────────────────────────────────────────────────────────────────
  65.  
  66. You're done, simply compile back the system.
  67.  
  68. French Proverb: A père avare, enfant prodigue.
  69.  
  70. For comments, bug report and suggestion, e-mail at the following address:
  71.  
  72. Nicolas LeBlanc  2@20302.WWIVnet (aka Spotnick)
  73.                  -> spotnick@gamemaster.qc.ca
  74. Martin Bourdages 242@20306 / 3@20302.WWIVnet (aka Dark Shadow)
  75.                  -> martin.bourdages@radio.magicnet.com
  76.  
  77.                  =>   French Mod Division Support Sub   <=
  78.                                 SubType: FMD
  79.                            Host: @20302 (WWIVnet)
  80.                       Scan sublist for other networks
  81.  
  82.         Read PRODUCTS.FMD for the full list of our support systems.
  83.  
  84. ───[EOF]──────────────────────────────────────────────────────────────────────
  85.