Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cc()
- term.clear()
- term.setCursorPos(1,1)
- end
- function Server()
- while true do
- local id,message = rednet.receive()
- print("Client: "..id.." Message: "..message.."")
- end
- end
- function start()
- print("Server,Client,CS-client")
- write("Befehl:")
- local input1 = io.read()
- if input1 == "Server" then
- Server()
- elseif input1 == "Client" then
- elseif input1 == "CS-client" then
- end
- end
- rednet.open("top")
- cc()
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement