I want to capture the text which will be automatically sent to a @window, so there won't be anything typed in an editbox.

For example, if i made a script to send 'hello' or ''bye' to a window at random intervals, the script would be sending it - no editbox required. I would then want to know how to trigger a command everytime something is sent. eg. when the word 'hello' gets sent to the window, it plays music hello.mp3 and when the word 'bye' is found in the window line, play bye.mp3

If i wanted to play music on certain words, I cannot set the music commands before the text gets to the window as i won't be knowing, nor controling the text that gets sent to the window.


----
-= Aliquando Et Insanire Iucundum Est =-
ImmorTalZ: irc.immortalz.org/