19 lines
388 B
Lua
19 lines
388 B
Lua
_G.position = vector.new(-250,96,106)
|
|
_G.facing = vector.new(-1,0,0)
|
|
rednet.open("left")
|
|
old_print = _G.print
|
|
new_print = function(...)
|
|
x = ""
|
|
for i,v in ipairs(arg) do
|
|
x = x..tostring(v).." "
|
|
end
|
|
old_print(x)
|
|
rednet.broadcast(x)
|
|
end
|
|
_G.print = new_print
|
|
while true do
|
|
parallel.waitForAny(
|
|
require("rednerd")
|
|
--shell.run("shell")
|
|
)
|
|
end
|