Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- os.loadAPI("ugapi")
- os.loadAPI("sha256")
- local it = ".simg"
- local w, h = term.getSize()
- local scp = term.setCursorPos
- local sbc = term.setBackgroundColor
- local stc = term.setTextColor
- function notify(title,desc)
- local w, h = term.getSize()
- paintutils.drawFilledBox(
- (w/2) -
- )
- end
- function ui()
- ugapi.bcolor(colors.lightBlue)
- term.clear()
- ugapi.drawimage(it,2,1)
- scp(13,5)
- stc(colors.white)
- sbc(colors.blue)
- write("Please sign in to continue. ")
- sbc(colors.lightGray)
- scp(14,10)
- write("User: ")
- scp(14,12)
- write("Pass: ")
- scp(20,10)
- stc(colors.black)
- sbc(colors.white)
- local uname = read()
- scp(20,12)
- local upass = read("*")
- end
- ui()
- --shell.run("sinelock")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement