Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- event ,key = os.pullEvent("key")
- if key =="44" then
- rednet.broadcast("1")
- end
- if key =="31" then
- rednet.broadcast("0")
- end
- if key =="16" then
- rednet.broadcast("2")
- end
- if key =="32" then
- rednet.broadcast("3")
- end
- if key =="17" then
- rednet.broadcast("10")
- end
- if key =="46" then
- rednet.broadcast("11")
- end
- if key =="48" then
- rednet.broadcast("12")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement