Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ininstaller(code,name)
- local response = http.get(
- "http://pastebin.com/raw/"..code
- )
- if response then
- local sResponse = response.readAll()
- response.close()
- h = fs.open(name,"w")
- h.write(sResponse)
- h.close()
- return sResponse
- else
- print( "Failed." )
- end
- end
- term.clear()
- term.setCursorPos(1, 1)
- print("Installing...")
- if not fs.exists("mine") == true then
- ininstaller("sKw4TY2m","mine")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine2") == true then
- ininstaller("uxFcBnFB","mine2")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine3") == true then
- ininstaller("32KicVhL","mine3")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine4") == true then
- ininstaller("JH83qrQY","mine4")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("torch") == true then
- ininstaller("X1vczfG6","torch")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("stripmine") == true then
- ininstaller("xqZYmzsN","stripmine")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("detect") == true then
- ininstaller("x9mcx4yi","detect")
- sleep(0.3)
- end
- if not fs.exists("pasteupdate") == true then
- ininstaller("tSmjdJ7w","pasteupdate")
- os.loadAPI("pasteupdate")
- sleep(0.3)
- end
- term.clear()
- term.setCursorPos(1, 1)
- print("Installed Stripmine program by Jey0")
- sleep(2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement