home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / DETH-01.MOD < prev    next >
Text File  |  1995-12-24  |  3KB  |  81 lines

  1.    ┌┬─────────────────────────────────────────────────────────────────────┬
  2.    ││                    Seasons In The Abyss Presents                    │
  3.    └┼─────────────────────────────────────────────────────────────────────┐
  4.    ││ Mod Name       » Deth-01a.mod  (THIS IS MY 1st mod)                 │                 │
  5.    ││ Difficulty     » █▒▒▒▒▒▒▒▒▒▒ (1/10) (EASY! BLOCK COPY!)             │                │
  6.    ││ WWIV Version   » 4.24                                               │
  7.    ││ Date Affected  » 12/24/95 "YEAH@#@$ Christmas Eve!                  ││
  8.    :│ Files Affected » MMENU.C                                            │
  9.    ∙│ Description    » Built In ASCII Chart with //ASCII                  │
  10.     └─────────────────────────────────────────────────────────────────────┼
  11.  
  12.  ┌┬══════════════════┐
  13.  ││ Long Description ││
  14.   └══════════════════┴┘
  15.  
  16.   This is my first mod and I did it real quick at 1:57pm on Christmas Eve
  17.   getting ready to drive down to Florida. Odd time for a first mod! but
  18.   anyway, this is a real simple mod but kinda useful. It adds a little
  19.   command to print out an ascii chart so users can use it as a reference
  20.   for making macros and othe little things... I plan to learn some more
  21.   and release some mods that are big and more useful. This is %100 to work,
  22.   and if you screw it up you are an idiot! I got the idea for this mod from 
  23.   another modder who is much better than me.
  24.  
  25. ──────────────────────────────────────────────────────────────────────────────
  26.                    Legend
  27.               ╔═══╤══════════════════┐
  28.               │ + │ Add This Line    │
  29.               │ - │ Delete This Line │
  30.               │ * │ Modify This Line │
  31.               │ = │ Existing Line    │
  32.               └═══╧══════════════════╝
  33. ───[Step 1]────────────────────────────────────────────────────────────────────
  34.  
  35. Load up MMENU.C and in void mainmenu(void) search for "DE"
  36. Then add these lines after it.
  37.  
  38. == if ((strcmp(s,"DIREDIT")==0) || (strcmp(s,"DE")==0)) {
  39. ==       write_inst(INST_LOC_DIREDIT,0,INST_FLAGS_NONE);
  40. ==       sysoplog(get_stringx(1,3));
  41. ==       dlboardedit();
  42. ==     }
  43. ++ if (strcmp(s,"ASCII")==0) {
  44. ++   prt(2, "Look at the ASCII chart? ");
  45. ++   if (yn()) {
  46. ++   printfile("ASCII");
  47. ++   }
  48. ++ }
  49. == if (strcmp(s,"DOS")==0) {
  50. ==   if (checkpw()) {
  51. ==     write_inst(INST_LOC_DOS,0,INST_FLAGS_NONE);
  52. ==     sysoplog(get_stringx(1,6));
  53. ==     extern_prog(getenv("COMSPEC"), EFLAG_SHRINK|EFLAG_COMIO|EFLAG_ABORT);
  54. ==   }
  55. == }
  56.  
  57. /* Save MMENU.C */
  58. ───[Step 2]───────────────────────────────────────────────────────────────────
  59. Copy the ASCII.MSG that was included in this mod to your GFILES directory.
  60. Add the command //ASCII to your menu somewhere so people know about it!
  61. ───[Step 3]───────────────────────────────────────────────────────────────────
  62.  
  63. You're gonna have to do a MAKE FCNS then just compile it and your done!
  64. Wasn't that EASY!?! (if in your mind you said NO then you are dumb as a
  65. rock!
  66.  
  67.  
  68. !@***(Please mail me if you use this mod! I like to know if people use it!***@!
  69.  
  70.  
  71. For comments, bug report and suggestion, e-mail at the following address:
  72.  
  73.                  Dan O'Doherty
  74.                   (aka Deth)
  75.             (aka Lord Of Darkness)
  76.                   1@1 DarkNet
  77.                  69@1 DemonNet
  78.               32@8319 WWiVNet 
  79.  
  80. Lord Of Darkness.iNFEST.SCoRn(senior member)
  81.