Nope, it's not empty. Right now it has:

msg $chan %eventdata

I thought perhaps the $read() identifier had a problem so I made the variable %eventdata carry that information. I'm totally lost on this. I even have similar data on other lines but they're not causing an error.

Edit:
You mentioning an empty line made me suspicious of something. Somehow, the script was generating an empty line at the very end of it's execution. So, I put a plain character on the very front before the variable and it showed up. Now I know what I'm working with. Thanks again for your reply.

Last edited by Lloyd_B; 25/04/15 08:18 PM.

Lloyd