home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / SSS01.MOD < prev    next >
Text File  |  1995-06-11  |  3KB  |  79 lines

  1. Erasmus #1 @2738
  2. Wed Jun 07 11:39:25 1995
  3. ┌────────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name: SSS01.Mod                    Mod Author: Erasmus 1@2738 WWIVnet  │
  5. │ Difficulty: [■.........] (1 of 10)     Date: 06/07/95                      │
  6. │ Files Affected: MSGBASE1.C                                                 │
  7. │ WWIV Version: 4.24                                                         │
  8. │ Description: Time left displayed when scanning messages.                   │
  9. │                                                                            │
  10. └────────────────────────────────────────────────────────────────────────────┘
  11. ╔════════════════════════════════════════════════════════════════════════════╗
  12. ║   This mod is not copyrighted 1995 by Brad Campbell, aka Erasmus, and is   ║
  13. ║   distributed as freeware.  Permission is granted to distribute and post   ║
  14. ║   this mod on BBS systems and online services, provided no alterations     ║
  15. ║   are made (removal of message headers/taglines allowed).  This mod may    ║
  16. ║   contain some parts of WWIV source code, which is copyright 1988-1995 by  ║
  17. ║   Wayne Bell and licensed only to registered users of WWIV.  Use of WWIV   ║
  18. ║   source without registration constitutes a license violation and could    ║
  19. ║   lead to legal prosecution  and certain doom.                             ║
  20. ║                                                                            ║
  21. ║   Shareware distributors and CD-ROM publishers may not distribute this mod ║
  22. ║   without express written permission of the Author or WWIV Software        ║
  23. ║   Services.  Distribution should be to Registered WWIV sysops only.        ║
  24. ╚════════════════════════════════════════════════════════════════════════════╝
  25.  
  26. Long description: This mod is for all those people who like to spend all
  27.           their on-line time reading new messages. It displays
  28.           how much time is remaining for them on that call. It
  29.           appears just above the message base title and is updated
  30.           each time they go to a new message. Obviously I got this
  31.           idea from the main prompt and thought I would make a small
  32.           modification to see if it would work while scanning
  33.           messages also. Not exactly a hard mod to figure out but it
  34.           is my first and everyone should make their first mods as
  35.           simple as possible. I apologize if this mod was already
  36.           posted. I haven't seen any as of yet.
  37.  
  38.  
  39. Step 1: Back up your source if you wanna. This mod only takes up 2 lines
  40.     and won't be that difficult to remove if something were to go
  41.     terribly wrong. :)
  42.  
  43.  
  44. Step 2: Load up MSGBASE1.C
  45.  
  46.  
  47. Step 3: Search for and add the following two lines;
  48.  
  49. Legend:  == Existing Line
  50.      ++ Add Line
  51.      -- Delete Line
  52.      ** Modify Line
  53.  
  54.  
  55. ==    if (express) {
  56. ==      s[0]=0;
  57. ==      nln(2);
  58. ==    } else {
  59. ==      if (E_C) {
  60. ++        npr("1Time Left 0- 7%s\r\n",ctim(nsl()));
  61. ==        sprintf(s1,"7[1%s7] [1%s7]",usub[cursub].keys,
  62. ==          subboards[usub[cursub].subnum].name);
  63. ==      } else {
  64. ++        npr("Time Left - %s\r\n",ctim(nsl()));
  65. ==        sprintf(s1,"[%s] [%s]",usub[cursub].keys,
  66. ==          subboards[usub[cursub].subnum].name);
  67. ==      }
  68. ==      ansic(2); pl(s1);
  69. ==      prt(2,s);
  70. ==      helpl=16;
  71. ==      input(s,5);
  72. ==      resynch(cursub, &msgnum, NULL);
  73.  
  74.  
  75.  
  76. Step 4: Close MSGBASE1.C and compile. That's it.
  77.  
  78.             -Erasmus 1@8351
  79.