Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- m = peripheral.find("monitor")
- term.setTextColor(colors.green)
- term.setBackgroundColor(colors.blue)
- term.clear()
- print("Cinema Console")
- print()
- rednet.broadcast("hoston")
- while true do
- write("Console>")
- command = read()
- if command == "exec nyan" then
- rednet.broadcast("nyanrun")
- elseif command == "exec kyle" then
- rednet.broadcast("kylerun")
- elseif command == "shutdown" then
- print("Thank you for using Cinema Console Remote.")
- sleep(3)
- os.shutdown()
- elseif command == "clear" then
- term.clear()
- term.setCursorPos(1,1)
- elseif command == "clearMon" then
- rednet.broadcast("clearmon")
- elseif command == "difficult" then
- rednet.broadcast("Difffi")
- elseif command == "playMusicDisk" then
- rednet.broadcast("playaudio")
- elseif command == "stopMusicDisk" then
- rednet.broadcast("stopaudio")
- elseif command == "exec endof" then
- term.setTextColor(colors.blue)
- rednet.broadcast("startend")
- term.setTextColor(colors.green)
- elseif command == "blankScreen" then
- rednet.broadcast("blank")
- else
- print("Bad command or file name.")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement