I appreciate the suggestion, Riamus2. You've solved my puzzle. Thank you very much.
drum, I know that. Thanks for the input! The reason I used echo instead of /say or /msg # is that I was testing it to make sure it's going to work out the way I'm after.