home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / CORNEW.MOD < prev    next >
Text File  |  1992-12-01  |  2KB  |  71 lines

  1. A corrected NEWSCAN mod
  2.  
  3. *********************************************************************
  4. *                            TwO PunKs                              *
  5. *                                                                   *
  6. *                                                                   *
  7. *    1@8406                New Scan First                 1@8410    *
  8. * 804-320-6305          Before Online Games            804-780-9622 *
  9. *********************************************************************
  10.  
  11. Key:
  12. $ Search
  13. * Original Line
  14. + Add line
  15. - Delete line
  16. ! Change Line
  17.  
  18. *********************************************************************
  19. First in VARS.H add to the end of it:
  20. int readcall;
  21.  
  22. *********************************************************************
  23.  
  24. Second in BBS.C add to the end of the other extern statements
  25. extern int readcall;
  26.  
  27. *********************************************************************
  28.  
  29. Third:
  30.  
  31. $ case 'N':
  32. +   readcall=1;
  33. *   express=0;
  34.  
  35. *********************************************************************
  36.  
  37. Forth:
  38.  
  39. $ case '.':
  40. +   if ((readcall!=1)) {
  41. +     nl();
  42. +     prt(2,"You must NEWSCAN before you can play the online games.");
  43. +     nl();
  44. +     nl();
  45. +     return;
  46. +   }
  47. *   do_chains();
  48. *   break;
  49.  
  50. *********************************************************************
  51.  
  52. Fifth:
  53.  
  54. In BBSUTL.C add 
  55. extern int readcall;
  56. below all the other externs.
  57.  
  58. *********************************************************************
  59.  
  60. Sixth:
  61.  
  62. $   print("WWIVnet node
  63. * nl();
  64. * nl();
  65. + readcall=0;
  66.  
  67. *********************************************************************
  68.                 TwO PunKs
  69. 1@8406                                                        1@8410
  70. _____________________________________________________________________
  71.