Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local other = "ugh"
- local mon = peripheral.wrap("top")
- local bleh, monize = mon.getSize()
- local bleh2
- color1 = colors.white
- color2 = colors.cyan
- term.clear()
- term.setCursorPos(1,1)
- print("Enter the side your monitor is on (No Caps):")
- mon = peripheral.wrap(read())
- bleh, monsize = mon.getSize()
- print("Do you want to reset the tasks? Type 'y' if so. (Use if program crashes)")
- bleh2 = read()
- if bleh2 == "y" then
- game = "Do Nothing :)"
- hunter = "Do Nothing :)"
- wtg = "Do Nothing :)"
- end
- term.clear()
- mon.clear()
- while true do
- mon.setTextScale(1.25)
- mon.setCursorPos(-5+bleh/2,1+monsize/4)
- mon.setTextColor(color1)
- mon.setBackgroundColor(color2)
- mon.write("Todo List:")
- mon.setCursorPos(1,4+monsize/4)
- print("Todo List:\n\n\n")
- mon.write("Gameover28956: ")
- mon.write(game)
- print("Gameover28956: ", game, "\n\n")
- mon.setCursorPos(1,6+monsize/4)
- mon.write("hunterboerner: ")
- mon.write(hunter)
- print("hunterboerner: ", hunter, "\n\n")
- mon.setCursorPos(1,8+monsize/4)
- mon.write("wtg62: ")
- mon.write(wtg)
- mon.setCursorBlink(false)
- print("wtg62: ", wtg, "\n")
- print("\n\nType 'edit' to edit tasks")
- print("'edit 1' to edit Gameover28956")
- print("'edit 2' to edit hunterboerner")
- print("'edit 3' to edit wtg62")
- print("Ctrl+T to exit")
- other = read()
- if other == "edit" then
- print("Enter task for Gameover28956:")
- game = read()
- print("Enter task for hunterboerner:")
- hunter = read()
- print("Enter task for wtg62:")
- wtg = read()
- term.clear()
- mon.clear()
- elseif other == "edit 1" then
- print("Enter task for Gameover28956:")
- game = read()
- elseif other == "edit 2" then
- print("Enter task for hunterboerner:")
- hunter = read()
- elseif other == "edit 3" then
- print("Enter task for wtg62:")
- wtg = read()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement