home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / TM-ULA.MOD < prev    next >
Text File  |  1994-08-30  |  4KB  |  150 lines

  1.  
  2. ╔───────────────────────────────────────────────────────────────────────────╗
  3. │ Mod Name: TM-MSGUP.MOD                    Author: Twinkie Man!!!!!        │
  4. │                                                                           │
  5. │ Requirements: IQ of at LEAST 1           < I have nothing to put here >   │
  6. │                                          <  So I am filling it with   >   │
  7. │ WWIV Version: 4.23+                      <   This neat0 paragraph!    >   │
  8. │                                                                           │
  9. │ Files Affected: BBS.C                                                     │
  10. │                                                                           │
  11. │ Description: Lame Mod tht asks if                                         │
  12. │ If you would like to upload a message                                     │
  13. │ when you go to post!                                                      │ 
  14. ╠───────────────────────────────────────────────────────────────────────────╣
  15. └───────────────────────────────────────────────────────────────────────────┘
  16.  
  17. Disclaimer:
  18.  
  19. If your computer becomes possesed and eats your Mother in Law, then consider 
  20. yourself lucky!
  21.  
  22.  
  23. Extended Description:
  24.  
  25. OK...It is a dink mod that will ask the user if they would like to Upload 
  26. there message when they go to post...Just like Obvlivion/2, ViSiON-X, and so
  27. on...There are a few things I am unable to fix, MAINLY because I am a dinky
  28. programmer...For instance, if you have an SL of 255, and you say YES to 
  29. U/L'ing the message, it will act as if you did a //LOAD, which means, any
  30. remotes you may have will NEED to do a //UPLOAd due to the fact a //LOAd 
  31. gets data from the SysOp's HD! If anyone has any suggestions, PLEASE update
  32. this and re-post it!
  33.  
  34.  
  35.  
  36.  
  37. ──────( Step One )───────── ─   ─
  38.  
  39. Back up your source...It is like a 10 line mod, but some of you idiots out
  40. there just MAY mess up!
  41.  
  42.  
  43. ──────( Step Two )───────── ─   ─
  44.  
  45. Open up BBS.C and search for the following:
  46.  
  47. =   case 'P':
  48. =     irt[0]=0;
  49. =     irt_name[0]=0;
  50. =     grab_quotes(NULL, NULL);
  51. =     if (usub[0].subnum!=-1)
  52. =       post();
  53. =     break;
  54.  
  55.  
  56. ──────( Step Three )───────── ─   ─
  57.  
  58. Delete or comment that out and replace it with this one:
  59.  
  60.       case 'P':
  61.     outstr("9Would you like to Upload a message?");
  62.     if(yn()) {
  63.     if(actsl>254) {
  64.     nl();
  65.     prt(2,get_string(7));
  66.     input(s1,50);
  67.     if (s1[0]) {
  68.     nl();
  69.     load_workspace(s1,0);
  70.     }
  71.     } else 
  72.     upload_post();
  73.     load_workspace(s1,0);
  74.     } else 
  75.     irt[0]=0;
  76.     irt_name[0]=0;
  77.     grab_quotes(NULL, NULL);
  78.     if (usub[0].subnum!=-1)
  79.       post();
  80.     break;
  81.  
  82.  
  83. ──────( Step Four )───────── ─   ─
  84.  
  85. Save BBS.C and open MSGBASE1.C. Search for the following:
  86.  
  87.           case 'P':
  88.         irt[0]=0;
  89.         irt_name[0]=0;
  90.           case 'W':
  91.         p2=msgs[msgnum];
  92.         grab_quotes(&(p2.msg),subboards[curlsub].filename);
  93.         post();
  94.         resynch(cursub, &msgnum, &p2);
  95.         grab_quotes(NULL, NULL);
  96.         break;
  97.  
  98. and replace it with this:
  99.  
  100.           case 'P':
  101.           outstr("9Would you like to Upload a message?");
  102.             if(yn()) {
  103.             if(actsl>254) {
  104.             nl();
  105.             prt(2,get_string(7));
  106.             input(s1,50);
  107.             if (s1[0]) {
  108.             nl();
  109.             load_workspace(s1,0);
  110.             }
  111.             } else 
  112.             upload_post();
  113.             load_workspace(s1,0);
  114.             } else 
  115.             irt[0]=0;
  116.             irt_name[0]=0;
  117.             grab_quotes(NULL, NULL);
  118.             if (usub[0].subnum!=-1)
  119.             post();
  120.             break;
  121.         
  122.           case 'W':
  123.         outstr("9Would you like to Upload a message?");
  124.         if(yn()) {
  125.         if(actsl>254) {
  126.         nl();
  127.         prt(2,get_string(7));
  128.         input(s1,50);
  129.         if (s1[0]) {
  130.         nl();
  131.         load_workspace(s1,0);
  132.         }
  133.         } else 
  134.         upload_post();
  135.         load_workspace(s1,0);
  136.         } else 
  137.         p2=msgs[msgnum];
  138.         grab_quotes(&(p2.msg),subboards[curlsub].filename);
  139.         post();
  140.         resynch(cursub, &msgnum, &p2);
  141.         grab_quotes(NULL, NULL);
  142.         break;
  143.  
  144.  
  145.  
  146. ────────────────────────────────────────────────────────────────────────────────
  147.  
  148. That's it! As you can see, A dink mod!
  149.  
  150.