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

  1. Birdhunter #1 @3451
  2. Tue May 08 22:06:19 1990
  3.  
  4.                 !!!!!!!   MAILINMS.MOD    !!!!!
  5.                      From Birdhunter 1@3451
  6.                           314-772-6112
  7.  
  8. Did you ever wind up seeing something in a post that reminds you that you
  9. want to mail ANOTHER user???  And to do so you have to Quit your scan,
  10. Email or Fmail the person and start your scan all over again??!!!
  11. Frustrating!!!!
  12.  
  13. OK, this mod will allow you to both "F"mail the sysop OR to mail ANY
  14. user in the NET or on your board FROM the message WITHOUT quitting the
  15. message base.
  16.  
  17. Search for the following in MSGBASE1.C
  18.  
  19. void scan(int msgnum, int optype, int *nextsub)
  20. {
  21.   char s[81],s1[81],s2[81],*b,*ss1;
  22.   int i,i1,i2,done,quit,abort,next,val,realexpress;
  23.   slrec ss;
  24.  
  25. When you reach that function search for the following:
  26.  
  27.           case 'B':
  28.                 if (*nextsub!=0) {
  29.                   *nextsub=1;
  30.                   done=1;
  31.                   quit=1;
  32.                 }
  33.  
  34. ADD this code BEFORE case 'B': as shown below:
  35.  
  36.         case 'F':                     /* BH mod */
  37.         feedback();                   /* BH mod */
  38.         break;                        /* BH mod */
  39.  
  40.         case '=':                      /* BH mod */
  41. /* Note the = can be replaced by ANY unused function that you like */
  42.         send_email();                  /* BH mod */
  43.         break;                         /* BH mod */
  44.  
  45.               case 'B':                /* the rest is existing code */
  46.                 if (*nextsub!=0) {
  47.                   *nextsub=1;
  48.                   done=1;
  49.                   quit=1;
  50.                 }
  51.                 break;
  52.               case 'T':
  53.                 optype=1;
  54.                 break;
  55.  
  56.  
  57.  
  58.       That's it.  I don't normally publish mods, just hack.  So any
  59.       problems with this, let me know but do NOT hold me responsible!!
  60.                                 Birdhunter
  61.