home *** CD-ROM | disk | FTP | other *** search
- ``Jiff`` IceNET #4 AT 7668
- Mon Jun 12 17:35:42 1995
- ┌───────────────────────────────────────────┬────────────Cow Header (Moo)───┐
- │ Mod Name: JIFF-01.MOD The Author: Jiff │ 4@7668 IceNET 1@7604 Penguin │
- │ Difficulty: █▒▒▒▒▒▒▒▒▒ │ 1@1 CowLink 1@7666 GoldNET │
- │ WWIV Version: v4.24 Date: 06/12/95 │ 1@7669 ZeppNET 1@7666 RoadNET │
- │ Files Affected: DIREDIT.C │ 1@52 AstralNET │
- │ Description: Colourful boxed diredit. │ │
- └───────────────────────────────────────────┴───────────────────────────────┘
-
- This mod doesn't do much, except make //DE look nicer... I like it,
- (which is why I am releasing it) and it's easy... =) I was going to make
- the strings extrnal, but it really isn't worth the work, since this way it
- will be easier to upgrade to any changes in newer versions of WWIV.
-
- ─═[Step 1]═─
- Open DIREDIT.C and go to void modify_dir, and look for this:
-
- outstr(get_string(62)); pl(r.name);
- outstr(get_string(63)); pl(r.filename);
- outstr(get_string(135)); pl(r.path);
-
- Comment out down to here:
-
- }
- nl();
- prt(2,get_string(1498));
-
- Then block copy this below:
-
- /* Start JIFF-01.MOD */
- npr("7╒═[1DirEdit7]═════════╕\r\n");
- npr("7│ 1A9.1 Name 7│ 1"); pl(r.name);
- npr("7│ 1B9.1 Filename 7│ 1"); pl(r.filename);
- npr("7│ 1C9.1 Path 7│ 1"); pl(r.path);
- npr("7│ 1D9.1 D/L Security 7│ 1"); pln(r.dsl);
- npr("7│ 1E9.1 Minimum Age 7│ 1"); pln(r.age);
- npr("7│ 1F9.1 Maximum Files 7│ 1"); pln(r.maxfiles);
- strcpy(s,get_string(5));
- if (r.dar!=0) {
- for (i=0; i<16; i++)
- if ((1 << i) & r.dar)
- s[0]='A'+i;
- s[1]=0;
- }
- npr("7│ 1G9.1 DAR 7│ 1"); pl(s);
- npr("7│ 1H9.1 Require PD 7│ 1");
- pl((r.mask&mask_PD)?str_yes:str_no);
- npr("7│ 1I9.1 Directory Type 7│ 1"); pln(r.type);
- npr("7│ 1J9.1 Uploads 7│ 1"); pl((r.mask & mask_no_uploads) ? get_string(143) : get_string(115));
- npr("7│ 1K9.1 Archives Only 7│ 1"); pl((r.mask & mask_archive) ? str_yes : str_no);
- npr("7│ 1L9.1 Drive Type 7│ 1");
- if (r.mask & mask_cdrom)
- pl(get_string(1154));
- else
- pl(get_string(1155));
- if (r.mask & mask_cdrom) {
- npr("7│ 1M9.1 Available 7│ 1");
- if (r.mask & mask_offline)
- pl(str_no);
- else
- pl(str_yes);
- }
- npr("7╘═══════════════════╛\r\n");
- nl();
- npr("7─═[1Which?7]─[1A9-1M9, 1[9,1]9, 1Q9uit7]═─9 ");
- /* End JIFF-01.MOD */
-
- And it contiues on...
-
- ch=onek("QABCDEFGHIJKLM[]");
- switch(ch) {
- case 'Q':done=1; break;
- case '[':
-
- ─═[Step 2]═─
- Done! Make your BBS and e-mail me saying you used it, or need help!
- Rememeber, I am not responsable if this screws up anything. You should
- know to make backups. =)
-
- ─═[Jiff]═─
- ─═[Sysop ■ The Cow Pasture]═─
- ─═[Co-Sysop ■ The Pinnacle]═─
-
- JIFF-01 .MOD ■ Boxed DirEdit
-