iteration

This commit is contained in:
2023-10-07 22:57:23 -04:00
commit c2cef57703
4 changed files with 129 additions and 0 deletions

11
messageboard/server.lua Normal file
View File

@ -0,0 +1,11 @@
rednet
rednet.open("back")
while true do
id, msg = rednet.receive()
if msg == "get" then
rednet.send(id, message)
elseif msg == "set" then
id, msg = rednet.receive()
message = msg
end