home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / REPPOST.MOD < prev    next >
Text File  |  1992-01-29  |  886b  |  33 lines

  1.                                REPLY TO POST MOD
  2.                                  by Piano Man
  3.                          Starlite BBS -- (504) 832-0696
  4.  
  5. This mod will allow users to reply to a post from the 'Read(1-xx,^xx),? :'
  6. prompt when scanning a sub-board.  Typing 'RE' at the read prompt will
  7. allow a reply to be posted, which will contain a line of the form 'RE:'
  8. followed by the title of the message which is being replied to (assumed
  9. to be the message just read).
  10.  
  11. In MSGBASE1.C:
  12.  
  13. =    existing line
  14. +    add 
  15.  
  16.  
  17.  
  18. =    if (strcmp(s,"CLS")==0)
  19. =      outchr('\x0c');
  20.  
  21. +    if (strcmp(s,"RE")==0) {
  22. +      strcpy(irt,"RE: ");
  23. +      strcpy(irt,msgs[msgnum].title);
  24. +      nl(); prt(2,"Reply to: "); prt(1,msgs[msgnum].title); nl();
  25. +      post();
  26. +      break;
  27. +    }
  28.  
  29. =  }
  30. =       break;
  31. =     case 1: /* List Titles */
  32. =       i=0;
  33. =       abort=0