U tried just sending the 999 as string and converting it back to number when receiving data?
edit: I think u just made typo, it should be nanomachines not nanomashines, if that’s not the case I don’t know what is then
You want to pull the message always or just one time?
while true do
local _, localNetworkCard, remoteAddress, port, distance, message = event.pull("modem_message")
print(message)
end
or
local message
while true do
local _, localNetworkCard, remoteAddress, port, distance, msg = event.pull("modem_message")
if msg then
message = msg
break
end
end
i think that will work, if not the first one sure will. I hope i helped you