View difference between Paste ID: fERJqn6S and yfeihrmp
SHOW: | | - or go back to the newest paste.
1
rednet.open("left")
2-
if rs.testBundledInput("top", colours.red) then
2+
3-
  rednet.open("right")
3+
4-
  rednet.broadcast("STOP")
4+
if rs.testBundledInput("right", colours.white) then
5-
  sleep(0.1)
5+
6
  rednet.broadcast("CHARCOAL")
7
  sleep(2)
8
  rednet.broadcast("000")
9-
if rs.testBundledInput("top", colours.yellow) then
9+
10-
  rednet.open("right")
10+
11
if rs.testBundledInput("right", colours.yellow) then
12-
  sleep(0.1)
12+
13
  rednet.broadcast("SP1")
14
  sleep(2)
15
  rednet.broadcast("000")
16-
if rs.testBundledInput("top", colours.purple) then
16+
17-
  rednet.open("right")
17+
18-
  rednet.broadcast("SP2")
18+
19-
  sleep(0.1)
19+