Quote:
//echo -ag $dde($ddename,evaluate,Last line in $!chan(1) : $!line($chan(1),$line($chan(1),0)))

Pasting that command into a DDE Link seems to be doing exactly what it is saying to do. It reads the last line of text and echoes it back into the room. Surprisingly it worked unchanged, even in the link with a VB6 program but the problem still remains. I need to be able to read this data from the VB6 program through the DDE Link and use the VB6 program to analyze it. I think the problem might be the Echo command.

Something else that has to be considered is that I need to read this text automatically each time it is entered. If there is no way for this to be done automatically, I can put the code in the VB6 program into a timer to test the channel regularly. This is a last choice option. Ideally Mirc initiating the DDE Link is preferable. The main thing at this point is actually reading the last line from my VB6 program.

Thanks
sneakers