home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / UNDER-07.ZIP / UNDER-07.MOD < prev   
Encoding:
Text File  |  1995-06-11  |  3.9 KB  |  126 lines

  1. Big Daddy Kain #17 @12128
  2. Thu Jun 08 07:37:34 1995
  3. ┌───────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name: UNDER-07.MOD                    Mod Author: Undertaker 06-06-95 │
  5. │ Difficulty: █▒▒▒▒▒▒▒▒▒                        IceNet   2@5304     │
  6. │ WWiV Version: 4.24 <── ONLY                           TerraNet 2@5300     │
  7. │ Files Affected: BBSOVL1.C                                                 │
  8. │ Description: Removes the BORDER on the CHAINS Menu                │
  9. └───────────────────────────────────────────────────────────────────────────┘
  10.  
  11. Extended Description: Removes the old boring blue border around the chains
  12.         menu. I never liked it, so i thought others would like this.
  13.  
  14.  
  15. Disclaimer:  if ((you) || ((screw->up_then>0) && (dont==come)))
  16.         and(-1);
  17.                    try(2, sue, my, &ass);
  18.                    you_did(it->your_self,);
  19.                    while (you<may->blame_me,[i])
  20.         give([++no++]);
  21.         guarantee(that(-(it->will_work),' '));
  22.         on(("&your_system"); && (%oh yeah)); {
  23.         [[back_up_],.]
  24.         your[0]=source;
  25.  
  26.  
  27.                   Key:
  28.             ==  Existing Line
  29.             --  Delete this line
  30.             ++  Add this line
  31.             !!  Change this line
  32.  
  33.  
  34. BBSOVL1.C Replace your void show_chains( with this one.
  35.  
  36. void show_chains(int *mapp, int *map)
  37. {
  38.   int abort=0,i,i1;
  39.   char s[121],s1[121];
  40.   userrec u;
  41.  
  42.   if ((sysinfo.flags & OP_FLAGS_CHAIN_REG) && chains_reg) {
  43.     abort=0;
  44.     nl();
  45.     nl();
  46.     sprintf(s1,"4  Num  Description                            Sponser                Usage");
  47.     strcat(s,s1);
  48.     pla(s,&abort);
  49.     for (i=0; (i<*mapp) && (!abort) && (!hangup); i++) {
  50.       strcat(s,". ");
  51.       if (okansi()) {
  52.     read_user(chains_reg[map[i]].regby[0],&u);
  53.     sprintf(s," %d  5%3d%d  1%-41s%d  %d%-21s%d 1%5d%d",
  54.       FRAME, i+1, FRAME, chains[map[i]].description,
  55.       FRAME, (chains_reg[map[i]].regby[0])?2:3,
  56.       (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
  57.       FRAME, chains_reg[map[i]].usage, FRAME );
  58.     pla(s,&abort);
  59.     if (chains_reg[map[i]].regby[0]!=0) {
  60.       for(i1=1;i1<5;i1++) {
  61.         if (chains_reg[map[i]].regby[i1]!=0) {
  62.           read_user(chains_reg[map[i]].regby[i1],&u);
  63.           sprintf(s," %d         %-41s   2%-21s%d %5.5s",
  64.         FRAME, " ", u.name, FRAME, " ");
  65.           pla(s,&abort);
  66.         }
  67.       }
  68.     }
  69.       } else {
  70.     read_user(chains_reg[map[i]].regby[0],&u);
  71.     sprintf(s," %3d   %-41.41s   %-21.21s %5d",
  72.       i+1,chains[map[i]].description,
  73.       (chains_reg[map[i]].regby[0]) ? u.name : get_string(315),
  74.       chains_reg[map[i]].usage);
  75.     pla(s,&abort);
  76.     if (chains_reg[map[i]].regby[0]!=0) {
  77.       for(i1=1;i1<5;i1++) {
  78.         if (chains_reg[map[i]].regby[i1]!=0) {
  79.           read_user(chains_reg[map[i]].regby[i1],&u);
  80.           sprintf(s," %3.3s   %-41.41s   %-21.21s %5.5s",
  81.         " "," ",(chains_reg[map[i]].regby[i1]) ?
  82.         u.name : get_string(315)," ");
  83.           pla(s,&abort);
  84.         }
  85.       }
  86.     }
  87.       }
  88.     }
  89.   } else {
  90.  
  91.     abort=0;
  92.     nl();
  93.     for (i=0; (i<*mapp) && (!abort) && (!hangup); i++) {
  94.       sprintf(s,"%d. %s",i+1, chains[map[i]].description);
  95.       pla(s,&abort);
  96.     }
  97.     nl();
  98.   }
  99. }
  100.  
  101.  
  102. ──[NOTE]────────────────────────────────────────────────────────────────────
  103. This MOD will display your chains menu normal, just without the blue border.
  104.  
  105. ────────────────────────────────────────────────────────────────────────────
  106.  
  107. UNDER-01.MOD - View Pending List From WFC When Hit '/'
  108. UNDER-02.MOD - Allow No Users Under Certain Security Level To Stay Online
  109. UNDER-03.MOD - Bulletins Menu From Main Menu By Hitting '@'
  110. UNDER-04.MOD - Makes Your BBS 9600+ Only
  111. UNDER-05.MOD - Random Menus
  112. UNDER-06.MOD - Use Anvil-Chat(c) In your BBS
  113. UNDER-07.MOD - Remove Blue Border In CHAINS MENU - 4.24 Only
  114.  
  115.  
  116. If You use this MOD, drop me a line, or call The Anvil BBS [ASV] at
  117. (503)746-9479.
  118.  
  119. Undertaker
  120. sburns@efn.org  <── InterNet
  121. #215 @12127 WWIVNet
  122. #2 @5304 IceNet
  123. #2 @5300 TerraNet
  124. #2 @5301 TexasNet
  125. #2 @1    AnvilNet The Anvil BBS [ASV] (503)746-9479
  126.