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

  1. ****************************************************************************
  2.                                  PIANO13.MOD
  3. Written For: WWIV v4.20e
  4. Written By: Piano Man 1@6851 (IceNET) 12@6850 (WWIVnet)
  5. Date: December 20th, 1991   While:  Listening to RUSH (Freewill) :)
  6. Difficulty:  Simple..
  7. Description: Prints the current sub that a user is on above the read
  8. prompt.  EXAMPLE:
  9. General Forum
  10. Read:(1-30),?");
  11.  
  12. It's a useful mod and it looks pretty cool!
  13. Well,  this is my 14'th mod (2 PIANO10's -A&B) so please E-Mail me or call
  14. my board,  the add is at the end of the file..  THANKS!
  15. ****************************************************************************
  16.  
  17. Legend:
  18. * = Search for
  19. = = Current Code (Existing...)
  20. - = Delete line
  21. + = Add line
  22. % = Moddify line
  23.  
  24.  
  25. On with the mod!
  26.  
  27. Step 1 -> Load up MSGBASE1.C
  28.  
  29. Step 2 -> Search for "void scan"
  30.  
  31. Step 3 -> Change the 'char' statements to look like this:
  32.  
  33. =  void scan(int msgnum, int optype, int *nextsub)
  34. =  {
  35. %    char s[81],s1[81],s2[81],s3[81],*b,*ss1;  <- Add the "s3[81]"
  36. =    int i,i1,i2,done,quit,abort,next,val,realexpress;
  37. =    slrec ss;
  38. =    long l,len;
  39. =    postrec p,p1;
  40.  
  41. Step 4 -> Search for "Read Prompt"  and make following changes:
  42.  
  43. =  case 0: /* Read Prompt */
  44. +    strcpy(s3,subboards[usub[cursub].subnum].name);
  45. +    prt(1,s3);
  46. %    sprintf(s,"Read:(1-%u,^%u), <ENTER> for next msg? :",nummsgs,msgnum);
  47. =    nl();
  48. =    if (express) {
  49. =      s[0]=0;
  50.  
  51. Step 5 ->  Save it,  go to dos and type in MAKE and compile it.
  52.  
  53. This mod was written assuming you are running WWIV v4.20revision 'E' and are
  54. compiling with Borland C++ v2.0.  So if it doesn't work,  go tell someone
  55. else...
  56.  
  57. Thanks and I hope you like this mod!
  58. Email me at 1@6851 (IceNET) and/or 12@6850 (WWIVnet)
  59.  
  60. Or call:
  61.  
  62. Milliways ]I[
  63. The Spirit of Radio
  64. WWIV v4.2e++ PIANOLIZED!
  65. (618) 259-7707
  66. 12/2400bps
  67. IceNET @6851 (ZC/AC)
  68. SysOp: Piano Man
  69.