Advertisement
minimite

nocolor

Feb 14th, 2015
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. --NoColor installer, by Atenefyr/CodedPixelCube/minimite for ComputerCraft
  2. if UsingNoColor or term.usingNoColor then
  3.   fs.delete("startup")
  4. end
  5. if fs.exists(".startup") then
  6.   fs.delete(".startup")
  7. end
  8. if fs.exists("startup") then
  9.   fs.move("startup", ".startup")
  10. end
  11. local open = fs.open("startup", "w")
  12. open.write(http.get("https://raw.githubusercontent.com/cpixelcube/NoColor/master/nocolor.lua").readAll())
  13. open.close()
  14. if shell.getRunningProgram() ~= "rom/programs/http/pastebin" then
  15.   fs.delete(shell.getRunningProgram())
  16. end
  17. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement