sethxi

Hidden Door Opener

Apr 13th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local args = { ... }
  2.  
  3. if not args[1] then
  4. term.setTextColor(colors.red)
  5. print("Please enter the password!")
  6. end
  7.  
  8. rednet.open("back")
  9.  
  10. rednet.broadcast("hd:" .. args[1])
  11.  
  12. term.setTextColor(colors.green)
  13. print("Opened hidden door!")
Advertisement
Add Comment
Please, Sign In to add comment