If you want to substitute new behavior, then substitute those in place of "notice $me"

For echo to status window, replace with: echo -s
For echo to window name, replace with: echo @Name_of_the_Window

Note that sending output to a window assumes the window already exists, so you would also want to have a command on ON START or ON CONNECT which creates the window. Something like "window -zj1000 @Name_of_the_Window 0 0 500 200" etc. check /help /window for more switches.

For sending output to a @window, you can also use /aline instead of /echo, which has the advantage of being able to be sent without having long lines wrapped to multiple lines. In that case, the event should also include a command like "window -b @Name_of_the_Window" which updates the horizontal scroll bar for lines wider than the window display.