Advertisement
Guest User

startup

a guest
Nov 17th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. --imbound logic
  2. modem = peripheral.wrap("top")
  3. modem.open(16)
  4. while true do
  5.   event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  6.   if message == "vampire" then
  7.     print("fuck")
  8.     redstone.setOutput("back",true)
  9.     sleep(2)
  10.     redstone.setOutput("back",false)
  11.   end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement