SHOW:
|
|
- or go back to the newest paste.
| 1 | - | print "Sidorkin Enterprises" |
| 1 | + | print "Sidorkin Enterprises Ltd." |
| 2 | write "Enter username: " | |
| 3 | u = read() | |
| 4 | sleep(1) | |
| 5 | shell.run("clear")
| |
| 6 | print "Waiting for participent to start.." | |
| 7 | for i = 0, 100 do | |
| 8 | rednet.open("right")
| |
| 9 | - | rednet.broadcast(".")
|
| 9 | + | rednet.broadcast("Users connected.")
|
| 10 | - | rednet.broadcast(".")
|
| 10 | + | rednet.broadcast("")
|
| 11 | id, name = rednet.receive() | |
| 12 | print(name) | |
| 13 | id, message= rednet.receive() | |
| 14 | print(message) | |
| 15 | rednet.broadcast("")
| |
| 16 | write "" | |
| 17 | msg = read() | |
| 18 | rednet.broadcast(u..":") | |
| 19 | rednet.broadcast(msg) | |
| 20 | end |