home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / NEWTAG.MOD < prev    next >
Text File  |  1990-07-19  |  2KB  |  58 lines

  1. Fingers #1 @4452
  2. Fri Jul 13 15:46:24 1990
  3. 7[2Msg Status7] 1Reply Wanted.
  4. 7=============================================================================
  5.  
  6. Parker Prospect #1 @9964
  7. Tue Dec 12 22:01:40 1989
  8. This tag line mod will work great, and it is simple (around 7 lines).  This
  9. has no messy misplaced else errors that non-programming sysops give out
  10. either.  I will admit that the original idea was not mine, but the original
  11. idea loaded a file, read 6one0 line from it, and used it as a tag line.
  12. 2The following code is in MSGBASE.C in 4void inmsg2.0
  13.  
  14.  
  15. -- Search for this line
  16. ++ Add this line
  17. ********************************* THE MOD *************************************
  18. --    } else {
  19. --      for (i5=0; i5<curli; i5++)
  20. --        addline(b,&(lin[i5*LEN]),&l1);
  21. --    }
  22. ++    if ((subboards[curlsub].type) && (syscfg.systemnumber))
  23. ++      {
  24. ++        addline(b,"",&l1); /* Blank line, leave this alone! */
  25. ++        addline(b,"<insert the first line of your tag here>",&l1);
  26. ++        addline(b,"<insert the next line of your tag here>",&l1);
  27. ++        addline(b,". . .",&l1);
  28.  
  29. /* You may ^^^^ do the above line as little or as much as you wish.  Simply
  30.    add and delete the addline procedures as needed.  The general format for
  31.    addline is "addline(b," message ",&l1);".  I have to yet figure out the
  32.    parameters, but this works!                                             */
  33.  
  34. ++      }
  35. --    if (b[l1-1]!=26)
  36. --      b[l1++]=26;
  37. --    savefile(b,l1,&m,aux);
  38. *******************************************************************************
  39.  
  40. The credit for this mod goes 3somewhat0 to Doug Fields, who (indirectly) showed
  41. me how to use addline.  I am a programmer, but in Pascal (C is a close
  42. relative).  Anyway, the good part:
  43.  
  44. is not my fault, not is it the fault of my mod.  6It was simply your stupidity0.
  45. (just kidding).  I am not in any way liable for this mod.
  46.  
  47. (my board) and ask me some questions, or just chat because I am usually bored
  48. out of my mind on weekdays anyway.
  49.  
  50.  
  51.  
  52. 1Parker Prospect0
  53. "2Problem Child0"
  54.                - AC/DC
  55.  
  56.       5┌──────────────────────────────────────────────────────────────────┐0
  57.       5│2░▒▓█0 4The East Carolina Connection @99640 - 124 hrs.0 - 32400 baud0 2░▒▓█5│0
  58.       5└──────────────────────────────────────────────────────────────────┘