(( 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)
|