Advertisement
qwertz19281

[ComputerCraft] qwgps installer

Aug 25th, 2016
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. --qwgps installer
  2. --run: pastebin run jfy6PSby
  3. shell.run("pastebin","get","VuP5rJ4k","qwgps")
  4. if(fs.exists("startup")) then
  5.     h=fs.open("startup","a")
  6.     h.writeLine("")
  7.     h.writeLine("os.loadAPI(\"qwgps\")")
  8.     h.close()
  9. else
  10.     h=fs.open("startup","w")
  11.     h.writeLine("os.loadAPI(\"qwgps\")")
  12.     h.close()
  13. end
  14. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement