From c5b37c85e74d5cc35d391ace74e1504b41caeeb4 Mon Sep 17 00:00:00 2001 From: "navid.sassan" Date: Fri, 2 Apr 2021 15:55:20 +0200 Subject: [PATCH] added send function --- control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/control b/control index bbd8467..cd81c00 100644 --- a/control +++ b/control @@ -77,6 +77,8 @@ function control() rednet.send(tonumber(input[2]), 'ping') elseif input[1] == 'eval' then 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 move_control(tonumber(input[2])) else