Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --vampire detection system
- modem = peripheral.wrap("top")
- modem.open(16)
- while true do
- local event = os.pullEvent("redstone")
- if rs.getInput("back") == true then
- print("missile imbound")
- modem.transmit(16,16,"vampire")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement