I guess the easiest would be to hook Com_Printf with a little function, which appends all the output of it to a temporary string:
But that's not implemented yet.PHP Code:hook_com_printf_to_save_output_to_string();
Cmd_ExecuteString( "status" );
ret = get_saved_com_printf_string_and_unhook_com_printf();



Reply With Quote