home *** CD-ROM | disk | FTP | other *** search
- Jiff #480 @12183
- Fri Aug 04 03:44:20 1995
- ╒════════════════════════════════════════════════════[Cow Header (Moo)]═══╕
- │ Mod Name: JIFF-10.MOD Author: Jiff - 4@7668 IceNET 1@7666 MicroNET │
- │ Difficulty: ██▓▒▒▒▒▒▒▒▒ Crave! - 1@7668 IceNET 1@7668 MicroNET │
- │ WWIV Version: v4.24+ Date: 08/03/95 ╒═════────∙·. │
- │ Files Affected: BBSOVL1.C COM.C MMENU.C │ Chris Craver 1:260/152 │
- │ Description: Send FidoNet mail via WWIV │ Dave Hogan (Jiff) FidoNet │
- ╘═════════════════════════════════════════╧═══════════════════════════════╛
-
- This mod is intended for those of you on IceNET or MicroNET to send
- FidoNet e-mail via the @668 (1:260/152) gateway. I'm assuming people in
- WWIVnet (or any other net with a Fido gateway) could set this up to work
- with that gateway. In fact, I'll even mark what you'd need to change!
- Also, if you're wondering why there are two authors, one is for the
- person that wrote the actual code I worked with, Chris Craver 1@12182 on
- WWIVnet, and the other is me, Jiff, the one that's writing this mod, and
- making this mod fit all the other JiffMods. This is pretty simple.
-
- = - Search for this line
- + - Add this line
- - - Remove this line
- % - Change this line
-
-
- .·∙──══ Step 1 ══──∙·.
- Open up any file, BBSOVL1.C or MODS.C is recomended, and plop this onto
- the end.
-
- /* Start JIFF-10.MOD */
- void fidomail(void)
- {
- char s[81],s1[81],s2[81],error[81];
- unsigned short sy,un;
- short i;
-
- outchr(12);
- write_inst(INST_LOC_EMAIL,0,INST_FLAGS_NONE);
- helpl=14;
- if (okansi()) {
- nln(4);
- jiffbar("FidoNet E-mail");
- pl("7╒═══════════────────∙·.");
- pl("7│1 Enter the name of the person user you wish to e-mail.");
- pl("7│1 Name: 4 0");
- pl("7│");
- pl("7│1 Enter the FidoNet node of that person.");
- pl("7│1 Node3: 4 0");
- pl("7╘═══════════────────∙·.");
- } else {
- pl("FidoNet email");
- pl("Enter the FULL name of the person you want to email.");
- npr("Name: ");
- }
- if (okansi()) {
- goxy(9,8);
- mpl(30);
- }
- input(s1,30);
- if (!s1[0]) {
- goxy(1,15);
- jiffbar("Aborted");
- return;
- }
- if (!okansi()) {
- pl("Enter the FidoNet node of that person");
- npr("Node: ");
- } else {
- goxy(9,11);
- mpl(15);
- }
- input(s2,15);
- if (!s2[0]) {
- goxy(1,15);
- jiffbar("Aborted");
- return;
- }
- goxy(1,17);
- helpl=0;
- irt[0]=0;
- irt_name[0]=0;
- sprintf(s,"%s (%s) ",s1,s2);
- strcat(s,"@668"); // Edit this to the node of gateway, if
- // you aren't in IceNET or MicroNET
- parse_email_info(s,&un,&sy);
- grab_quotes(NULL, NULL);
- if (un || sy)
- email(un,sy,0,0);
- else {
- if (okansi())
- goxy(1,16);
- jiffbar("Invalid address format!");
- pausescr();
- }
- }
- /* End JIFF-10.MOD */
-
-
- .·∙──══ Step 2 ══──∙·.
- Open up COM.C and plop this at the end. If you already have this, replace
- it because this is an update. Thanks to Spotnick for the litebar mod that
- this is patterned after.
-
- /* JiffMod Function */
- void jiffbar(char *fmt, ...)
- {
- va_list ap;
- char s[512], s2[250];
-
- va_start(ap, fmt);
- vsprintf(s, fmt, ap);
- va_end(ap);
-
- if (okansi())
- {
- sprintf(s2,"\x1b[0;34m░░▒▒▓▓\x1b[1;37;44m %s \x1b[0;34m▓▓▒▒░░",stripcolors(s));
- pl(s2);
- } else
- pl(s);
- ansic(0);
- }
- /* End JiffMod Function */
-
-
- .·∙──══ Step 3 ══──∙·.
- Open MMENU.C and do this:
-
- = if (strcmp(s,"/E")==0)
- = slash_e();
- + if (strcmp(s,"/F")==0)
- + fidomail();
- = if (strcmp(s,"/N")==0)
- = nscan(cursub);
- = if (strcmp(s,"/O")==0) {
-
-
- .·∙──══ Step 4 ══──∙·.
- Okay, well, now just make fcns, recompile, and e-mail me, Jiff, so I'll add
- you to the JiffMods Support list. Then, (I'd suggest this, not needed) you
- should get the JiffMods Support Sub, subtype JIFMODS, in IceNET and WWIVnet
- hosted by The Pinnacle, and on all the nets The Cow Pasture BBS is in. I'm
- done, and tired... =) This mod took a long time to write! =)
-
- // ─═[░▒▓J탃▓▒░]═─ \\
-
- JIFF-01 ■ Boxed DirEdit JIFF-02 ■ Boxed SubEdit
- JIFF-03 ■ Better Pending @ Net Call JIFF-04 ■ New G-Files Section
- JIFF-05 ■ Boxed ChainEdit JIFF-06 ■ Boxed G-Files Edit
- JIFF-07 ■ Limit users off of a node JIFF-08 ■ Boxed/Improved Uedit
- JIFF-09 ■ JiffMod Style YourInfo JIFF-10 ■ FidoNet mail over IceNET
-
- JiffMods Support Sub - Subtype JIFMODS - Many nets - E-mail Jiff for info
- [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][≈EOF≈][][][]
-