Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- version = 1
- function users()
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Sign In")
- term.setCursorPos(1,3)
- term.setBackgroundColor(colors.lightGray)
- term.setTextColor(colors.darkGray)
- print("Username")
- term.setCursorPos(1,5)
- term.setBackgroundColor(colors.lightGray)
- term.setTextColor(colors.darkGray)
- print("Password")
- term.setTextColor(colors.black)
- term.setCursorPos(1,3)
- usr=read()
- term.setCursorPos(1,5)
- pswd=read("*")
- end
- if(tonumber((http.get("http://pastebin.com/raw.php?i=WZk66BPG")).readAll()) > version)then
- shell.run("update")
- else
- term.setBackgroundColor(colors.yellow)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Welcome to PFGOS!")
- users()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement