home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / JIFF-02.ZIP / JIFF-02.MOD < prev   
Encoding:
Text File  |  1995-06-17  |  4.1 KB  |  108 lines

  1. ``Jiff`` IceNET #4 AT 7668
  2. Mon Jun 12 17:36:31 1995
  3. ┌───────────────────────────────────────────┬────────────Cow Header (Moo)───┐
  4. │ Mod Name: JIFF-02.MOD    The Author: Jiff │ 4@7668 IceNET  1@7604 Penguin │
  5. │ Difficulty: █▒▒▒▒▒▒▒▒▒                    │ 1@1 CowLink    1@7666 GoldNET │
  6. │ WWIV Version: v4.24      Date: 06/12/95   │ 1@7669 ZeppNET 1@7666 RoadNET │
  7. │ Files Affected: SUBEDIT.C                 │                1@52 AstralNET │
  8. │ Description: A colourful boxed boardedit. │                               │
  9. └───────────────────────────────────────────┴───────────────────────────────┘
  10.  
  11.     This mod doesn't do much, except make //BE look nicer...  I like it,
  12. (which is why I am releasing it) and it's easy...  =)  I was going to make
  13. the strings extrnal, but it really isn't worth the work, since this way it
  14. will be easier to upgrade to any changes in newer versions of WWIV.
  15.  
  16. ─═[Step 1]═─
  17.     Open SUBEDIT.C and go to void modify sub.  Start deleting/commenting
  18. at:
  19.  
  20.     outstr(get_string(62)); pl(r.name);
  21.  
  22. and go to:
  23.  
  24.     outstr(get_string(193)); pl((xsubs[n].desc[0])?xsubs[n].desc:get_string(5));
  25.     nl();
  26.     prt(2,get_string(194));
  27.  
  28. End the commenting/deleting.  Then copy this big block after that block you
  29. removed.
  30.  
  31. /* Start JIFF-02.MOD */
  32.     npr("7┌[9BoardEdit7]────┐\r\n");
  33.     npr("7│1 A9.1 Name       7│1 %s\r\n",r.name);
  34.     npr("7│1 B9.1 Filename   7│1 %s\r\n",r.filename);
  35.     if (r.key==0)
  36.       strcpy(s,get_string(168));
  37.     else {
  38.       s[0]=r.key;
  39.       s[1]=0;
  40.     }
  41.     npr("7│1 C9.1 Key        7│1 ");    pl(s);
  42.     npr("7│1 D9.1 Read SL    7│1 ");    pln(r.readsl);
  43.     npr("7│1 E9.1 Post SL    7│1 ");    pln(r.postsl);
  44.     switch(r.anony & 0x0f) {
  45.       case 0: strcpy(s,str_no); break;
  46.       case anony_enable_anony: strcpy(s,str_yes); break;
  47.       case anony_enable_dear_abby: strcpy(s,get_string(172)); break;
  48.       case anony_force_anony: strcpy(s,get_string(173)); break;
  49.       case anony_real_name: strcpy(s,get_string(174)); break;
  50.       default: strcpy(s,get_string(175)); break;
  51.     }
  52.     npr("7│1 F9.1 Anony      7│1 ");    pl(s);
  53.     npr("7│1 G9.1 Min. Age   7│1 ");    pln(r.age&0x7f);
  54.     npr("7│1 H9.1 Max Msgs   7│1 ");    pln(r.maxmsgs);
  55.     strcpy(s,get_string(5));
  56.     if (r.ar!=0) {
  57.       for (i=0; i<16; i++)
  58.     if ((1 << i) & r.ar)
  59.       s[0]='A'+i;
  60.       s[1]=0;
  61.     }
  62.     npr("7│1 I9.1 AR         7│1 ");    pl(s);
  63.     npr("7│1 J9.1 Net Info   7│1 ");
  64.     if (xsubs[n].num_nets) {
  65.       npr("%-12.12s %-7.7s %-6.6s  %s\r\n",
  66.       get_string(181), get_string(182), get_string(183), get_string(184));
  67.       for (i=0,xnp=xsubs[n].nets; i<xsubs[n].num_nets; i++,xnp++) {
  68.     if (xnp->host==0)
  69.       strcpy(s,get_string(185));
  70.     else
  71.       sprintf(s,"%u ",xnp->host);
  72.     if (xnp->category)
  73.       sprintf(s1,"%s 9(1%d9)1",get_string(187),xnp->category);
  74.     else
  75.       strcpy(s1,get_string(187));
  76.     npr("7│  9■1 Net Info 9■ 7│1 %-12.12s %-7.7s %-6.6s  %s%s\r\n",
  77.         net_networks[xnp->net_num].name,
  78.         xnp->stype,
  79.         s,
  80.         (xnp->flags&XTRA_NET_AUTO_ADDDROP)?get_string(186):"",
  81.         (xnp->flags&XTRA_NET_AUTO_INFO)?s1:"");
  82.       }
  83.     } else {
  84.       pl(get_string(188));
  85.     }
  86.  
  87.     outstr("7│1 K9.1 Storage    7│1 ");    pln(r.storage_type);
  88.     outstr("7│1 L9.1 Net Val    7│1 ");    pl((r.anony & anony_val_net)?str_yes:str_no);
  89.     outstr("7│1 M9.1 Req ANSI   7│1 ");    pl((r.anony & anony_ansi_only)?str_yes:str_no);
  90.     outstr("7│1 N9.1 Taglines   7│1 ");    pl((r.anony & anony_no_tag)?str_yes:str_no);
  91.     outstr("7│1 O9.1 Descrip    7│1 ");    pl((xsubs[n].desc[0])?xsubs[n].desc:get_string(5));
  92.     outstr("7└───────────────┘\r\n");
  93.     nl();
  94.     prt(7,"─═[1Which?7]─[1A9-1O9,1[9,1]9,1Q7]═─ ");
  95. /* End JIFF-02.MOD */
  96.  
  97. ─═[Step 2]═─
  98.    Done!  Make your BBS and e-mail me saying you used it, or need help!
  99. Rememeber, I am not responsable if this screws up anything.  You should
  100. know to make backups.  =)
  101.  
  102.             ─═[Jiff]═─
  103.             ─═[Sysop ■ The Cow Pasture]═─
  104.             ─═[Co-Sysop ■ The Pinnacle]═─
  105.  
  106. JIFF-01 .MOD  ■  Boxed DirEdit
  107. JIFF-02 .MOD  ■  Boxed SubEdit
  108.