Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function monitor()
- for _,b in pairs (rs.getSides()) do
- if peripheral.getType(b) == "monitor" then
- return peripheral.wrap(b)
- end
- end
- end
- local m = monitor()
- m.clear()
- m.setCursorPos(1, 1)
- m.write("hi")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement