Advertisement
Lyqyd

auth

May 11th, 2013
634
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement