Posted 07 November 2013 - 02:07 AM
downloader+ is to just make it easier and faster to download software off of pastebin
i will allow it to be used and modified anywhere just give me credit… thank you!
on the computer type: pastebin get TsC2hfLj
--[[
you may use this however you want just give me credit...
~Trey2k
]]--
function returnColor()
if term.isColor() then
term.setBackgroundColor(colors.black)
clear()
end
end
function clear()
term.clear()
term.setCursorPos(1,1)
end
if term.isColor() then
term.setBackgroundColor(colors.blue)
end
clear()
if term.isColor() then
term.setTextColor(colors.white)
end
textutils.slowPrint("Thank you for using Downloader+!!!")
textutils.slowPrint("By Trey2k!!!")
sleep(1)
clear()
write("Pastebin code: ")
input = read()
if input=="" or input==" " then
returnColor()
error("Invalid Code!")
end
clear()
write("What would you like to name it: ")
input2 = read()
if input2=="" or input2==" " then
returnColor()
error("Invalid Name!")
end
clear()
returnColor()
shell.run("pastebin get",input,input2)
Edited on 07 November 2013 - 01:17 AM