Posted 05 May 2013 - 04:59 AM
Hello, I am a total noob, so forgive me if this is a simple question, but how would I go about running a command, and then receiving it's text output, so I could display it on the screen?
I want to make a program that automatically dials 1 stargate to another on my server, by executing a command, the command then says back the status of the dialing process as it dials (normally when a person executes the command, it sends personal messages to them telling them the dailing status of the gate) [chevron 1 locked, chevron 2 locked, chevron 3 locked, dail attempt failed <reason>]
I was wondering how I would go about displaying each line of text on an attached monitor as it was sent back to the computer executing the command.
Really appreciate any advice, thanks!
I want to make a program that automatically dials 1 stargate to another on my server, by executing a command, the command then says back the status of the dialing process as it dials (normally when a person executes the command, it sends personal messages to them telling them the dailing status of the gate) [chevron 1 locked, chevron 2 locked, chevron 3 locked, dail attempt failed <reason>]
I was wondering how I would go about displaying each line of text on an attached monitor as it was sent back to the computer executing the command.
Really appreciate any advice, thanks!