Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=true
- while a == true do
- rednet.open("back")
- sleep(1)
- shell.run("clear")
- print("**********************")
- print("* [2] 2. OG *")
- print("* [1] 1. OG *")
- print("* [E] EG *")
- print("* [U] UG *")
- print("**********************")
- write(" Auswahl : ")
- auswahl = io.read()
- if auswahl =="U" then
- rednet.send(236,"up")
- -- y,x,z = rednet.receive()
- -- print(x)
- elseif auswahl == "D" then
- rednet.send(236,"down")
- -- y,x,z = rednet.receive()
- -- print(x)
- elseif auswahl == "1" then
- rednet.send(236,"1OG")
- elseif auswahl == "2" then
- rednet.send(236,"2OG")
- elseif auswahl == "E" then
- rednet.send(236,"eg")
- elseif auswahl == "U" then
- rednet.send(236,"ug")
- else
- return
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement