Maengorn

test1

Jan 5th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local modem = peripheral.wrap("top")
  2. while true do
  3. modem.open(3) -- Open channel 3 so that we can listen on it
  4. event, side, senderChannel, replyChannel, msg, distance = os.pullEvent("modem_message")
  5. print(msg)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment