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("1bmsfiGY","mine")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine2") == true then
- ininstaller("Hbd0kc4x","mine2")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine3") == true then
- ininstaller("SQ1A6VEH","mine3")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("mine4") == true then
- ininstaller("06TJ4CzZ","mine4")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("torch") == true then
- ininstaller("FRTx44fd","torch")
- sleep(0.3)
- end
- if not fs.exists("detect") == true then
- ininstaller("rmsahPUu","detect")
- sleep(0.3)
- end
- sleep(0.25)
- if not fs.exists("stripmine") == true then
- ininstaller("QQMwafG5","stripmine")
- sleep(0.3)
- end
- sleep(0.25)
- term.clear()
- term.setCursorPos(1, 1)
- print("Installed Stripmine program by Jey0")
- sleep(2)
Add Comment
Please, Sign In to add comment