Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[startup]]--
- function start()
- term.clear()
- term.setTextColor(colors.green)
- term.setCursorPos(15, 1)
- print("Admin Monitor System")
- term.setTextColor(colors.white)
- term.setCursorPos(1, 2)
- end
- -- Change the right to any direction on the pc
- monitor = peripheral.wrap("top")
- --Sets the input of what the monitors going to say
- function input()
- term.clear()
- monitor.clear()
- start()
- term.setCursorPos(1, 2)
- print("What do you want to type in the Monitor:")
- input3 = read()
- monitor.setCursorPos(1, 1)
- monitor.write(input3)
- term.clear()
- term.setCursorPos(1, 1)
- end
- --Function calls
- start()
- os.sleep(1)
- input()
- os.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement