added send function
This commit is contained in:
parent
a46a7d1126
commit
c5b37c85e7
2
control
2
control
@ -77,6 +77,8 @@ function control()
|
|||||||
rednet.send(tonumber(input[2]), 'ping')
|
rednet.send(tonumber(input[2]), 'ping')
|
||||||
elseif input[1] == 'eval' then
|
elseif input[1] == 'eval' then
|
||||||
rednet.send(tonumber(input[2]), {"eval", input[3]})
|
rednet.send(tonumber(input[2]), {"eval", input[3]})
|
||||||
|
elseif input[1] == 'send' then
|
||||||
|
rednet.send(tonumber(input[2]), input[3])
|
||||||
elseif input[1] == 'move' then
|
elseif input[1] == 'move' then
|
||||||
move_control(tonumber(input[2]))
|
move_control(tonumber(input[2]))
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user