We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c302aff commit 58157e6Copy full SHA for 58157e6
1 file changed
src/rednetListener.lua
@@ -0,0 +1,7 @@
1
+local modem = peripheral.find("modem")
2
+modem.open(rednet.CHANNEL_REPEAT)
3
+
4
+while true do
5
+ local _,_, from, to, message = os.pullEvent("modem_message")
6
+ print(from, to, textutils.serialise(message))
7
+end
0 commit comments