iteration

This commit is contained in:
2023-10-08 02:44:20 -04:00
parent 22743c248c
commit a58ca7b94c
5 changed files with 35 additions and 35 deletions

View File

@ -25,10 +25,10 @@ data = {
["token"] = settings.get("auth.token", nil)
}
rednet.send(receiverID, data)
rednet.send(receiverID, data, "lns")
while true do
id, msg = rednet.receive()
id, msg = rednet.receive("lns")
if id == receiverID then
if msg == "ok" then
print("Registered with LNS Server Successfully!")