View difference between Paste ID: rMTi1wid and PtrRVJrv
SHOW: | | - or go back to the newest paste.
1-
id = 1
1+
id = !                   --Replace the ! with the ID of the co
2-
rednet.open("right")
2+
rednet.open("<side>")    --Replace side with the side the modem is on
3
4
while true do
5
 write("Command: ")
6
 program = read()
7
 write("Arg: ")
8
 arg = read()
9
 write("Arg2: ")
10
 arg2 = read()
11
 rednet.send(id,program)
12
 rednet.send(id,arg)
13
 rednet.send(id,arg2)
14
end