Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.black)
- term.clear()
- local sides = {"top","bottom","left","right","front","back"}
- for _,v in ipairs(sides) do
- if peripheral.getType( v ) == "modem" then
- rednet.open( v )
- end
- end
- while true do
- local events = {os.pullEventRaw()}
- term.setBackgroundColor(colors.black)
- term.clear()
- term.setBackgroundColor(colors.lightBlue)
- term.setCursorPos(1, 1)
- print(events[1])
- print(events[2])
- print(events[3])
- print(events[4])
- print(events[5])
- print(events[6])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement