Advertisement
Guest User

main

a guest
Dec 17th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local password = false
  2. local input
  3. while (not password) do
  4.   print("For help type 'help'")
  5.   input = read()
  6.   if(input == "password") then
  7.     print("Enter the admin password")
  8.     input = read("*")
  9.     if input == "axeSAYSGOODDAYsir" then
  10.       password = true
  11.     end
  12.   elseif string.lower(input) == "help" then
  13.     shell.run("help")
  14.   else
  15.     print("this is where you set the computer to do something")
  16.   end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement