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

  1. Apollo18.423
  2. ``/┤PΘ££Θ`` WWIVnet #1 AT 2938
  3. Sat Dec 18 08:08:18 1993
  4. 0R: net33: @4136 (via @1) [11:44 12/23/93]
  5. 0R: net33: @1 (via @4120) [07:02 12/23/93]
  6. 0R: net33: @4120 [06:19 12/23/93]
  7. 0R: net33: @4062 (via @4064) [05:11 12/23/93]
  8. 0R: net33: @4064 (via @1040) [01:18 12/23/93]
  9. 0R: net33: @1040 (via @2050) [00:38 12/23/93]
  10. 0R: net34: @2050 [22:46 12/22/93]
  11. 0R: net34: @2050 (via @1040) [03:58 12/20/93]
  12. 0R: net34: @2050 (via @1040) [14:41 12/19/93]
  13. 0R: net33: @1040 (via @1042) [15:27 12/19/93]
  14. 0R: net33: @1042 (via @2914) [13:06 12/19/93]
  15. 0R: net33: @2914 (via @2938) [22:47 12/18/93]
  16. 0R: net33: @2938 [08:19 12/18/93]
  17. ┌──────────────────────────────────────────────────────Filo─Header─(c)────┐
  18. │ Mod Name: Apollo18.423  Mod Authors: Apollo  1@92938 WWIVNet & BRNet    │
  19. │ Difficulty: ████▒▒▒▒▒▒               1@2939 TARDIS,TERRA,Ice & Mas Nets │
  20. │ WWIV Version: v4.23            Date: 12/11/93                           │
  21. │ Files Affected: UEDIT.C                                                 │
  22. │ Add Upload K Credit.  Adds the K command to UEDIT for adding Upload K   │
  23. │ Credit.                                                                 │
  24. └─────────────────────────────────────────────────────────────────────────┘
  25.  
  26. Special Thanks to the writer of BBBOB06.MOD
  27. His mod worked the first time, he didn't leave anything out,
  28. I just thought I could do it better, easier, and more efficiently in terms
  29. of memory and D-Group usage.
  30. Updated to work with 4.23.
  31.  
  32. LEGEND:
  33. = old code, Search for this
  34. + new code
  35. - Remove or comment out this line
  36. > Modified From Virgin Code
  37.  
  38. #include <witty disclaimer>
  39.  
  40. BACKUP your Source
  41.  
  42. Load up: BBS.C
  43. Find: void uedit(int usern, int other)
  44. =    do {
  45. =      print_data(un,&u, ((full) || (temp_full)), cls);
  46. =      nl();
  47. =      prt(2,get_string(266));
  48. =      if ((thisuser.sl==255) || (wfc))
  49. -        ch=onek("ACDEGILMNOPQRSTUXYZ0123456789[]{}/,.?~%:");
  50. -                                           /*  Removed for Apollo18.423 */
  51. +        ch=onek("ACDEGIKLMNOPQRSTUXYZ0123456789[]{}/,.?~%:");
  52. +                                                        /* Apollo18.423 */
  53. =      else
  54. =        ch=onek("ACDEGILMNOPQRSTUYZ0123456789[]{}/,.?%");
  55. =      switch(ch) {
  56. =        case 'A':
  57. .
  58. .
  59. .
  60. =        case 'I':
  61. =          nl();
  62. =          prt(2,get_string(281));
  63. =          ch1=onek("\rABCDEFGHIJKLMNOP");
  64. =          if (ch1!=13) {
  65. =            ch1-='A';
  66. =            if ((wfc) || (thisuser.dar & (1 << ch1))) {
  67. =              u.dar ^= (1 << ch1);
  68. =              write_user(un,&u);
  69. =            }
  70. =          }
  71. =          break;
  72. +        case 'K':                                       /* Apollo18.423 */
  73. +          nl();                                         /* Apollo18.423 */
  74. +          pl(get_stringx(6,16));                        /* Apollo18.423 */
  75. +          input(s,4);                                   /* Apollo18.423 */
  76. +          if (atof(s)>32767)                            /* Apollo18.423 */
  77. +            s[0]=32767;                                 /* Apollo18.423 */
  78. +          if (s[0])                                     /* Apollo18.423 */
  79. +            u.uk=atof(s);                               /* Apollo18.423 */
  80. +          write_user(un,&u);                            /* Apollo18.423 */
  81. +          break;                                        /* Apollo18.423 */
  82. =        case 'L':
  83. =          nl();
  84. =          prt(2,get_string(269));
  85. =          inputl(s,sizeof(u.realname)-1);
  86.  
  87.  
  88.  
  89. done.
  90.  
  91. Save, Recompile and run.
  92. As you can see, It's Not so Hard, just a long compile!
  93.  
  94. ---- /┤PΘ££Θ   (8{[}  <-- Bald Vampire W/Glasses & Facial Hair (me)
  95.