Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("back")
- dofile("config")
- dofile("compat")
- while true do
- monitor.clear()
- monitor.setCursorPos(1,1)
- e = {pull_event()}
- if string.sub(e[1], 1, 3) == "sgM" then
- monitor.write(e[3])
- if e[3] == 730 then
- monitor.setCursorPos(1,2)
- monitor.setTextColor(colors.blue)
- monitor.write("-DauntlessFour")
- else
- monitor.setCursorPos(1,2)
- monitor.setTextColor(colors.blue)
- monitor.write("-Unrecognised IDC")
- end
- monitor.setTextColor(colors.white)
- sleep(20)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment