Advertisement
Dr_Respektlos

receive

Mar 8th, 2022
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. while true do
  2.     local event, id, text = os.pullEvent()
  3.     if event == "rednet_message" then
  4.         print("from ", id .. ": " .. text)
  5.     end
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement