Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. local term = require("term")
  2.  
  3. term.write("What's the password?: ")
  4. password = term.read()
  5.  
  6. if password == "potato" then
  7.     print("Valid!")
  8. else
  9.     print("Invalid!")
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement