TIP: Click on subject to list as thread! ANSI
echo: telix
to: ISAAC GROVER
from: MARK HARRISON
date: 1997-03-12 20:49:00
subject: No. of attempts variable?

(( QUOTING = From: Isaac Grover  To: All ))
 IG> I've set up all of my scripts for infinite redial until connected
 IG> using dial ("4",0,1);.  Since 90% of my connections are now
 IG> controlled by scripts, is there a way to determine how many times
 IG> a number was dialed before there was a connection, just so I can
 IG> print it to a capture file for later review?
Hello Isaac,
Not with the command above.
Use   dial("4",1,1);   in a loop that has a counter variable.
One option is:
 int Ix = 0;
 str Sx[3];    //good to 999 loops
 while(!carrier())
  {
   dial("4",1,1);
   ++x;
  }
 itos(Ix, Sx);
 // Now you can write Sx to any file you want.
Mark Harrison   | MPHsoft@aol.com       | http://kom.net/~mphsoft
MPH Software    | BBS\FAX: 618-539-6254 | RECORD21 - PICKUP14 - RFW10
--- GoldED 3.00.Alpha4+
---------------
* Origin: > Custom Communication Automation (1:2250/23)

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™.