RumbleFrog icon

CC Todo List

RumbleFrog | PRO | 10/29/16 09:36:40 PM UTC | 0 ⭐ | 186 👁️ | Never ⏰ | []
Lua |

770 B

|

None

|

0 👍

/

0 👎

term.clear()
term.setCursorPos(1, 1)
 
print("Scanning files for incompatibility... -22%-")
if (fs.exists("todo")) then
  print("Incompatible, remove the file named todo")
  error()
end
if (fs.exists("tasks")) then
  print("Is this the tasks program from a older todo program?")
  print(" Y/N")
  yn = read()
  if (yn == "n") or (yn == "N") then
    print("Please delete it.")
    error()
  end
else
  print("")
  print("Downloading file 1/2.                 -36%-")
  shell.run("pastebin", "get", "HcKjGgNy", "tasks")
  sleep(0.1)
end
 
print("")
print("Downloading file 2/2.                 -68%-")
shell.run("pastebin", "get", "ns8BpJqP", "todo")
sleep(0.1)
 
print("")
print("Download complete, run the file todo with a monitor on its side.")
error()

Comments