Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- m = peripheral.wrap("top")
- m.clear()
- m.setCursorPos(1,1)
- m.setTextScale(1)
- m.write("button")
- event,side,x,y = os.pullEvent()
- if event == "monitor_touch" then
- rednet.open('back')
- rednet.broadcast('1')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement