View difference between Paste ID: MR4qDddV and 8cdSbj8h
SHOW: | | - or go back to the newest paste.
1
local red=false
2
local blue=false
3-
local yellow=false
3+
4
local black=false
5
local white=false
6
7-
 if rs.testBundledInput("right",colors.green) then
7+
8
 if rs.testBundledInput("right",colors.red) then
9-
    mon = peripheral.wrap("top")
9+
  if not red then
10-
    mon.clear()
10+
    redstone.setBundledOutput("left", colors.red)
11-
    mon.setCursorPos(1,1)
11+
    red=true
12-
    mon.write("Top Floor")
12+
13
 else
14
   red=false
15
 end
16
17
if rs.testBundledInput("right",colors.blue) then
18
  if not blue then
19
    redstone.setBundledOutput("left", colors.blue)
20-
if rs.testBundledInput("right",colors.white) then
20+
21
  end
22-
    mon = peripheral.wrap("top")
22+
23-
    mon.clear()
23+
24-
    mon.setCursorPos(1,1)
24+
25-
    mon.write("Bottom Floor")
25+
26
if rs.testBundledInput("right",colors.green) then
27
  if not green then
28
    redstone.setBundledOutput("left", colors.green)
29
    green=true
30
  end
31
 else
32
   green=false
33
 end
34
35-
    mon = peripheral.wrap("top")
35+
if rs.testBundledInput("right",colors.black) then
36-
    mon.clear()
36+
  if not black then
37-
    mon.setCursorPos(1,1)
37+
    redstone.setBundledOutput("left", colors.black)
38-
    mon.write("3rd Floor")
38+
    black=true
39
  end
40
 else
41
   black=false
42
 end
43
44
 if rs.testBundledInput("right",colors.white) then
45
  if not white then
46-
if rs.testBundledInput("right",colors.yellow) then
46+
47-
  if not yellow then
47+
48-
    mon = peripheral.wrap("top")
48+
49-
    mon.clear()
49+
50-
    mon.setCursorPos(1,1)
50+
51-
    mon.write("2nd Floor")
51+
52-
    redstone.setBundledOutput("left", colors.yellow)
52+
53-
    yellow=true
53+