What I really need is an "OR" function
Since I can't do waitfor "ABC" or "XYZ" <x seconds>
How do I evauate a string for multiple values.
I want to do a "waitfor" for any one of several trouble codes
Example
1323 card failure
3434 databse corruption
2323 minor error
4512 who cares
1309 nobody knows
I want to do a "waitfor" 1323 and 3424 but not the others.
I know how to test for one at a time but not two or more. I don't want to run the command twice to check for each one seperately.
Any ideas?
Since I can't do waitfor "ABC" or "XYZ" <x seconds>
How do I evauate a string for multiple values.
I want to do a "waitfor" for any one of several trouble codes
Example
1323 card failure
3434 databse corruption
2323 minor error
4512 who cares
1309 nobody knows
I want to do a "waitfor" 1323 and 3424 but not the others.
I know how to test for one at a time but not two or more. I don't want to run the command twice to check for each one seperately.
Any ideas?