TIP: Click on subject to list as thread! ANSI
echo: telix
to: LANCE REYNOLDS
from: BEN CARPENTER
date: 1997-06-07 21:26:00
subject: TRACKS

-=> Quoting Lance Reynolds to Ben Carpenter <=-
... ..........Some Deleted..........
 
 BC> I would suggest that the above line be placed just above the
 BC> "delay(30);".  This way if the filefind does not find "SHAKEY.REP"
 BC> there is no need to send the "U" and you would not need to send
 BC> "cputs("^x^x^x^x^x^x^x^x^x^x^x^x");".  Then in the "else" statement
 BC> set your counter to "2" so as the down load will take place.
 LR> 
 LR> Or just go ahead and tell it to download...  Hmmm...  good one.  But
 LR> I'd still have to have the "dld" track active, so it will download
 LR> when there _is_ an reply.  But then that would cause two downloads...
 Lance
 Below is the portion of my script that pertains to the QWK door.  "c1"
 is my counter and it is set to 4 at the beginning of the script.  "t_8"
 is the track that is tracking for the QWK prompt.  It makes no
 difference if I have an upload or not I only get one download.
 else if (trackstatus == T_8)
     {
      c1 = c1 - 1;      //change counter to one lower number
      if (c1 == 3)
      {
      if (filefind(S_11, 0, tempexist) != 0)   // check for reply
         {                                     // packet
          cputs("u");                          // door upload response
          transferstatus = send('Z', S_11);
          frename("c:\telix\notup.txt", "up.txt"); //renames a dummy
          }                                        //file I use in
      else                                         //a batch file later
         {
         c1 = 2;     // change counter if no upload packet was found
         }
        }
       {
       if (c1 == 2)          //counter = 2 because of second trip due to
          {                  //upload or due to else statement above.
          cputs("d");        // door download response
          c1 = c1 - 1;       //change counter to one lower number
          }
        }
        {
        if (c1 == 1)       //counter = 1 after going through download
          {                // routine
          cputs("g");     //tells BBS goodby and loggs me off.
          }
          }
        }
 I call several different BBS's but 4 on an every day basis and I need a
 separate script for each BBS.  Even though 2 are running TBBS the
 sysop's have them setup different.  The other two are running Maximus
 and here again different sysop's different setups.  So the above is
 only for one of the BBS's.
 Some of my BBS calling was originally long distance and I set up my
 scripts to just make a mail run and logg off.  I had them setup with
 batch files and a utility called sleep such that it would make the call
 at night when I was sleeping and the rates were cheaper totally
 unattended.  If I wanted to browse around on the BBS I would make a
 separate call.  The BBS that I originally called long distance I can
 now telnet into but I still use a script that once it is launched makes
 the mail run and loggs off totally unattended then if I want to browse
 I just logg back on.  It seems to work better for me this way as I do
 not browse that much.
... ..........Some Deleted..........
 
 BC> to log off with (track_hit(t9)).  This seems to be the part that is
 LR> Not exactly.  T9 is there because there is one more choice to make
 LR> before the download starts or aborts.  When I select "D" from the QWK
 LR> menu, (after upld is done), there is either no packet to download,
 LR> (which is why I need t3 active), or it asks if I want the packet.
 LR> Answering "Y"es sends me the packet and goes back to the QWK menu;
 LR> answering "G" would send me the packet and log off.  I don't want to
 LR> log off.  (gotta see how my lord chara is doing!) 
 The door on a TBBS system can be set to not ask for the do you want to
 download the packet, it then just sends it.  If there is no download
 packet it just returns to the QWK menu but your script will have cycled
 just as if there had been a download.
 My personal preference is I don't like to mix a mail run with other BBS
 tasks so I make separate calls for the other work.  When I want to do
 something other than a mail run I use a different script that makes the
 call and gets me logged on then ends and I can then do whatever I want
 from the keyboard.
 Now with the above said I do call one BBS and mix browsing with a mail
 run but the script just gets me logged on and that is it.  I do the
 browsing first and the door is set up to logg me off after a mail
 packet download.
 BC> not working I think.
 LR> Nope.  The script never sends the "D" on the second hit of the QWK
 LR> track, so the download never starts.
 
 Sounds like a syntax error in the way the script is seeing the counter
 and the prompts.  (like you mentioned later and I deleted)
... ..........Much Deleted..........
 Do you have internet access?  Can your BBS be accessed over the
 internet?
... Ben    
... It wasn't broke 'til I fixed it a little...
___ Blue Wave/DOS v2.30
--- FLAME v1.1
---------------
* Origin: Telnet toltbbs.com or call 313-854-6001, Boardwatch #55 (1:234/2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.