Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- local a, b, c = rednet.receive()
- local d, e, f = rednet.receive()
- local g, h, i = rednet.receive()
- local j, k, l = rednet.receive()
- print(b, e, h, k)
- if (e == ".") and (h == ".") and (k == ".") then
- shell.run(b)
- end
- if (e ~= ".") and (h == ".") and (k == ".") then
- shell.run(b,e)
- end
- if (e ~= ".") and (h ~= ".") and (k == ".") then
- shell.run(b,e,h)
- end
- if (e ~= ".") and (h ~= ".") and (k ~= ".") then
- shell.run(b,e,h,k)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment