home *** CD-ROM | disk | FTP | other *** search
- ``Swabby`` IceNET #1 AT 7403
- Wed Jun 07 11:38:17 1995
- D╔═════════════════════════════════════════════════════════════════════════╦
- ╠═════════╦══════════════════╗CLegal StuffC║
- ║ Mod Name║ TSD-02a.424C║ Well TriWare has Two Members Right Now ║
- ╠═════════║══════════════════║ These AreC║
- ║ Date ║ June, 7 1995C║CSwabby -- Bermuda TriangleC║
- ╠═════════║══════════════════║C-- SYSCOC║
- ║ Netz ║ PALnet 1@1C║ Swabby 1@1.PALnet SYSCO 1@8409.PALnet ║
- ║C║ WWIVnet 1@6037 ║C║
- ║C║ TERRAnet 1@7404 ║C║
- ╚═════════╩══════════════════╠════════════════════════════════════════════╣
- TriWare SoftwareC║CDetailzC║
- C(c)opyright ('95)C║ This is A Correction thanks to someone ║
- Swabster Learned TheC║ in ?? Please Post bug fixes in TRIWAREC║
- Art Of AnsizC║ Support so i get yer names. This WallC║
- C║ Actually Writes this time!!C║
- C╚════════════════════════════════════════════╝
- D
-
-
- USED SOME CODE in FMD Mod.. Only a few lines..
-
- ok Back To Our Little Mod
-
- - Delete Code
- + Add Code
- = Keep The Same
- $ Eat this part
-
- Step #1 Backup pkzip backsour *.c *.h
-
- Step #2
-
- Add this Code To the End of LILO.C
-
- void triwall(void)
- {
- char s[81], s1[81], s2[162], ro[160], text[26][81], *ss;
- int i2, maxone=15, top=0;
-
- FILE* onefile;
-
- if (ini_init("WWIV.INI", "TRIWARE", NULL)==0)
- {
- if ((ss=ini_get("ONELINERS_AMOUNT", -1, NULL))!=NULL)
- {
- maxone=atoi(ss);
- }
- if ((ss=ini_get("ONELINERS_AT_TOP", -1, NULL))!=NULL)
- {
- if (ss[0]=='Y')
- top=1;
- else
- top=0;
- }
- ini_done();
- }
- sprintf(s, "%sONELINER.DAT", syscfg.datadir);
- onefile=fsh_open(s, "r");
- litebar2("%s One-Liners", syscfg.systemname);
- nl();
- for (i2=0; i2<maxone; i2++)
- {
- fgets(s2, 100, onefile);
- strcpy(text[i2], s2);
- s2[59]=0;
- skip(s2);
- sprintf(s1, "7\"%s7\"", s2);
- pl(s1);
- }
- nln(2);
- prt(9,"Add a one liner? ");
- if (yn())
- {
- if (thisuser.restrict & restrict_automessage)
- {
- nl();
- pl("Sorry You Can't Add To One-Liners");
- } else {
- prt(7,"Please enter your One-Liner (9Returns Abort this7)");
- nl();
- prt(7,">");
- ansic(3);
- ro[0]=0;
- inli(s1,ro,59,1);
- if (s1[0]==0)
- {
- fsh_close(onefile);
- return;
- }
- fsh_close(onefile);
- sprintf(s, "%sONELINER.DAT", syscfg.datadir);
- onefile=fsh_open(s, "w");
- if (top==0)
- {
- strcat(text[maxone-1], "\n");
- for (i2=1; i2<maxone; i2++)
- fprintf(onefile, "%s", text[i2]);
- }
- fprintf(onefile, "%-59.59s; %.18s", s1, nam(&thisuser,usernum));
- if (top==1)
- {
- fprintf(onefile, "\n");
- for (i2=0; i2<maxone-1; i2++)
- fprintf(onefile, "%s", text[i2]);
- }
- }
- }
- fsh_close(onefile);
- }
-
- Step #3
- Open BBS.C
- And Add this
-
-
-
- = pl(" McAllen, TX 78504-0455");
- = nl();
- = }
- + if (strcmp(s,"TRIWALL")==0) {
- + triwall();
- + }
-
-
- Step Four:
-
- Add This at the end of com.c
-
- void litebar2(char *fmt, ...)
- {
- va_list ap;
- char s[512], s2[250];
-
- va_start(ap, fmt);
- vsprintf(s, fmt, ap);
- va_end(ap);
-
- if (okansi()) {
- npr("\x1B[0;1;36m%s\r\n",charstr(strlen(s),'▄'));
- sprintf(s2,"%s",stripcolors(s));
- pl(s2);
- npr("\x1B[0;1;30m%s\r\n",charstr(strlen(s),'▀'));
- } else
- pl(s);
- ansic(0);
- }
-
- And...
-
- Type MAKE FCNS
- Recompile!
-
-
- Please Join Subtype: TriWALL on these fine networks
-
- WWIVnet.TRIWALL
- PALnet..TRIWALL
- ICEnet..TRIWALL
- FILEnet.TRIWALL
-
- More To Come!
-