home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / DOA-01.MOD < prev    next >
Text File  |  1996-11-21  |  4KB  |  161 lines

  1. ╒═════════════════════════════════════════════════════════╕
  2. │ File Name: DOA-01.MOD                                   │
  3. │                                                         │
  4. │ Description: Asks the user if he/she has been posting.  │
  5. │ It uses their name in it which helps to get their       │
  6. │ attention.                                              │
  7. │                                                         │
  8. │ Version: WWIV 4.24                                      │
  9. │                                                         │
  10. │ Difficulty: █▒▒▒▒▒▒▒▒▒ (1/10)                           │
  11. │                                                         │
  12. │ Files Affected: MISCCMD.C / MMENU.C                     │
  13. │                                                         │
  14. │ Author: John Doa of Area Fifty-One (410)-319-9245       │
  15. ╘═════════════════════════════════════════════════════════╛
  16.  
  17.  ■ Extended Description ■ 
  18.  
  19.  There is another mod out there like this one,
  20.  I saw it and it gave me the idea, so I added to
  21.  it...
  22.  
  23. ╒═[Legend]═══════════╕
  24. │ = existing line    │
  25. │ + add this line    │
  26. │ - delete this line │
  27. │ * modify this line │
  28. ╘════════════════════╛
  29.  
  30.  
  31.  
  32. ──────────────────────────────────────────────────────────────────────────────
  33. ■ Step One ■
  34. ──────────────────────────────────────────────────────────────────────────────
  35.  
  36. BACK UP YOUR SOURCE!!!
  37.  
  38. ...you really dont have to unless you STUPID!
  39.  
  40. ──────────────────────────────────────────────────────────────────────────────
  41. ■ Step Two ■
  42. ──────────────────────────────────────────────────────────────────────────────
  43.  
  44. Load MISCCMD.C
  45.  
  46. Copy this to the end of MISCCMD.C
  47.  
  48.  
  49. /* DOA-01.MOD */
  50.  
  51. void remind(void)
  52. {
  53.  nl();       
  54.  npr("9Have you been posting, 7%s9?",thisuser.name);
  55.  nl();
  56. }
  57.  
  58. /* DOA-01.MOD */
  59.  
  60. Save MISCCMD.C
  61. Close MISCCMD.C
  62.  
  63. ──────────────────────────────────────────────────────────────────────────────
  64. ■ Step Three ■
  65. ──────────────────────────────────────────────────────────────────────────────
  66.  
  67. Load MMENU.C
  68.  
  69. Find...
  70.  
  71.  
  72. =     case 'T':
  73. =       if (syscfg.sysconfig & sysconfig_no_xfer) {
  74. =         nl();
  75. =         pl(get_string(30));
  76. =         nl();
  77. =         break;
  78. =       }
  79.  
  80.  
  81. Lower...
  82.  
  83.  
  84. =       if (menu_on()) {
  85. =         rmenu = 300;
  86. =         rip_cls();
  87. =         //printmenu(310);
  88. =         cleared = WASCLEARED;
  89. =       }
  90. +       remind();
  91. =       break;
  92.  
  93.  
  94. Find...
  95.  
  96.  
  97. =     case 'N':
  98. =       write_inst(INST_LOC_SUBS,65535,INST_FLAGS_NONE);
  99. =       express=0;
  100. =       expressabort=0;
  101. =       nscan(0);
  102. +       remind();
  103. =       break;
  104.  
  105.  
  106. Find...
  107.  
  108.  
  109. = if (strcmp(s,"/A")==0) {
  110. =   nl();
  111. =   ac=0;
  112. =   if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
  113. =     ac=1;
  114. =     tmp_disable_conf(1);
  115. =   }
  116. =   helpl=13;
  117. =   abort=0;
  118. =   num_listed=0;
  119. =   tagging=1;
  120. =   titled=1;
  121. =   nscanall();
  122. =   tagging=0;
  123. =   if (ac)
  124. =     tmp_disable_conf(0);
  125. +   remind();
  126. = }
  127.  
  128.  
  129. Find...
  130.  
  131.  
  132. =     case 'D':
  133. =       helpl=20;
  134. =       play_sdf(get_string(1038),0);
  135. =       existprint(get_string(1038));
  136. =       download();
  137. +       remind();
  138. =       break;
  139.  
  140.  
  141. Save MMENU.C
  142. Close MMENU.C
  143.  
  144.  
  145. ──────────────────────────────────────────────────────────────────────────────
  146. ■ Step Four ■
  147. ──────────────────────────────────────────────────────────────────────────────
  148.  
  149. Just MAKE the bbs, and your done!
  150.  
  151. This mod does something like this:  Have you been posting, JOHN DOA?
  152. when ever you, scan for new messages, scan for new files, download, and
  153. when you enter the transfer area.
  154.  
  155. This is a very simple mod, i really dont see how you can screw it up
  156. if you have modded before...
  157.  
  158. ──────────────────────────────────────────────────────────────────────────────
  159. ■ E.O.F. ■
  160. ──────────────────────────────────────────────────────────────────────────────
  161.