:3
This commit is contained in:
parent
491112768c
commit
68ec37f994
66 changed files with 6591 additions and 10096 deletions
19
computer/28/startup.lua
Normal file
19
computer/28/startup.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
rednet.open("right")
|
||||
|
||||
|
||||
while true do
|
||||
sender,message = rednet.receive("elevator")
|
||||
if sender == 27 then
|
||||
rednet.send(
|
||||
sender,
|
||||
{
|
||||
pcall(
|
||||
peripheral.call,
|
||||
unpack(message)
|
||||
)
|
||||
},
|
||||
"elevator"
|
||||
)
|
||||
print(unpack(message),"called")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue