improved output

This commit is contained in:
navid.sassan 2021-04-01 01:00:32 +02:00
parent 8d48cb8fbb
commit 76b32f11ce

3
client
View File

@ -45,6 +45,9 @@ while true do
if output then if output then
print("Command output: " .. dump(output)) print("Command output: " .. dump(output))
rednet.send(master, "Command output: " .. dump(output)) rednet.send(master, "Command output: " .. dump(output))
else
print("There is no command output.")
rednet.send(master, "There is no command output.")
end end
else else
print("Runtime error: " .. output) print("Runtime error: " .. output)