Recently, I've had an idea for an add-on which sends live console input to another program. It lets you view the remote console as text is being echo()'d. This was, originally, my code:
function echo(%text)
{
%file = new FileObject();
%file.openForAppend("config/server/rcconsole.txt");
%file.writeLine(%text);
%file.close();
Parent::echo(%text);
}
Then, after asking several players, I've learned that you can't parent the echo() or eval() functions. And, of course, using the console.log won't work (since it's not accessible while the server is running) and it would be horribly inefficient to skip 500,000 lines or so.
So does anybody know if there's any kind of workaround to get live input from the Blockland console? I was thinking that you may need to interfere with the command shell of the host OS whenever it prints a line into command prompt, terminal, etc. This console streaming program must be able to access the console while the server is running.