Advertisement
Lyqyd

auth

May 11th, 2013
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local pass = "fooBarBaz"
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("remote@"..(os.getComputerLabel() or os.getComputerID()))
  5. term.write("Login Required: ")
  6. if read("*") == pass then
  7.   shell.run("rom/programs/shell")
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement