SHARE
TWEET

ComputerCraft - Door password - MrCloudPT

a guest Nov 17th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. correctpass = ("adsl")
  2.  
  3. wring("Insira a senha:")
  4.  
  5. pass = read()
  6.  
  7. if pass == (correctpass) then
  8. write("SALA-XX aberta!")
  9. redstone.setOutput("right",true)
  10. sleep(10)
  11. os.shutdown()
  12.  
  13. else
  14. write("Senha incorreta!")
  15. sleep(2)
  16. os.shitdown()
  17. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top