View Single Post
Old 12-16-2014, 02:42 PM
jbd1300 jbd1300 is offline
Registered User
Join Date: Dec 2014
Posts: 18
For Each or Do Until----Help Please

I never thought about testing on both the string and if it's idle or busy. If it shows up in show users, then it has to be in use, or the line is in use. That's the logic I was using at least.. . Yes, I need to read in the show users output, however, didn't want to read it into a log or file, but real time. So, as the command is run and displays the output, the script finds an open modem, and opens a line...such as "connect modem5" for example.

Yes, I would like to parse with a loop, but can't wrap my head around which loop to use, and what the syntax would look like.

I am using Version 6.7.4

Thank you!