You should be able to pipe the output into a file:
/run command param1 param2 param3 > output.txt
(untested)
-genius_at_work
Nope that didn't seem to work, couldnt get it to output into the file.
My curent dirty workaround is having the java class write the contents to a textfile. and then when i make mirc run the command, i read the textfile after 1 second
public static void main(String[] args) {
String outputFile = args[0], challenge = args[1];
String response = generateChallenge(challenge);
System.out.println(response);
FileOutputStream fout;
try
{
fout = new FileOutputStream (outputFile);
new PrintStream(fout).println (response);
fout.close();
}
catch (IOException e)
{
}
}
notice my run command uses a java class.. so your run command you posted would make
> output.txt - my java class would think they are parameters which is not what i want