SHOW:
|
|
- or go back to the newest paste.
| 1 | - | print("Main loop activated")
|
| 1 | + | print("Main loop activated")
|
| 2 | - | rednet.send(tonumber(hostid),"connect") |
| 2 | + | rednet.send(tonumber(hostid),"connect") |
| 3 | - | print("SENT")
|
| 3 | + | print("SENT")
|
| 4 | - | id,msg,dist=rednet.receive() |
| 4 | + | id,msg,dist=rednet.receive() |
| 5 | - | if id==hostid then inType=msg print("Input Type: "..inType) end -- Sends the connection notice to the server. |
| 5 | + | if id==hostid then inType=msg print("Input Type: "..inType) end-- Sends the connection notice to the server. |