home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / APOLLO12.423 < prev    next >
Text File  |  1993-12-27  |  2KB  |  44 lines

  1. ┌──────────────────────────────────────────────────────Filo─Header─(c)────┐
  2. │ Mod Name: Apollo12.423  Mod Authors: Apollo  1@92938 WWIVNet & BRNet    │
  3. │ Difficulty: █▒▒▒▒▒▒▒▒▒               1@2939 TARDIS,TERRA,ICE & Mas Nets │
  4. │ WWIV Version: v4.23            Date: 12/09/93                           │
  5. │ Files Affected: MISCCMD.C                                               │
  6. │ Sends SSM to SysOp When User adds to BBS List                           │
  7. └─────────────────────────────────────────────────────────────────────────┘
  8.  
  9. LEGEND:
  10. = old code, Search for this
  11. + new code
  12. - Remove or comment out this line
  13. > Modified From Virgin Code
  14.  
  15. #include <witty disclaimer>
  16.  
  17. BACKUP your Source
  18.  
  19. Load up: MISCCMD.C
  20. Find: void bbslist(void)
  21. =            if (yn()) {
  22. =              sprintf(s1,"%sBBSLIST.MSG",syscfg.gfilesdir);
  23. =              f=sh_open(s1,O_RDWR | O_CREAT | O_BINARY, S_IREAD | S_IWRITE);
  24. =              if (filelength(f)) {
  25. =                sh_lseek(f,-1L,SEEK_END);
  26. =                sh_read(f,((void *)&ch1),1);
  27. =                if (ch1==26)
  28. =                  sh_lseek(f,-1L,SEEK_END);
  29. =              }
  30. +              ssm(1,0,s);                               /* Apollo12.423 */
  31. =              sh_write(f,(void *)s,strlen(s));
  32. =              sh_close(f);
  33. =              nl();
  34. =              pl(get_string(500));
  35. =            }
  36.  
  37.  
  38. done.
  39.  
  40. Save, Recompile and run.
  41. As you can see, Very easy!
  42.  
  43. ---- /┤PΘ££Θ   (8{[}  <-- Bald Vampire W/Glasses & Facial Hair (me)
  44.