Advertisement
qwertz19281

[ComputerCraft] qwgps remover

Aug 25th, 2016
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. --qwgps remover
  2. --run: pastebin run VyXjd8nV
  3. os.unloadAPI("qwgps")
  4. h=fs.open("startup","r")
  5. stu=h.readAll()
  6. h.close()
  7. stu=string.gsub(stu, "os.loadAPI..qwgps..", "")
  8. h=fs.open("startup","w")
  9. h.write(stu)
  10. h.close()
  11. fs.delete("qwgps")
  12. fs.delete("qwgps_coords")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement