iteration
This commit is contained in:
@ -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!")
|
||||
|
Reference in New Issue
Block a user