SHOW:
|
|
- or go back to the newest paste.
1 | rednet.open("left"); | |
2 | local m = peripheral.wrap("back"); | |
3 | m.clear(); | |
4 | m.setTextColor(colors.white); | |
5 | m.setBackgroundColor(colors.black); | |
6 | m.clear(); | |
7 | m.setTextScale(3); | |
8 | -- BLUE NUMBERS START | |
9 | -- 1 Start | |
10 | m.setCursorPos(1,1); | |
11 | m.setBackgroundColor(colors.blue); | |
12 | m.write(" 1 "); | |
13 | -- 1 End | |
14 | -- 2 Start | |
15 | m.setCursorPos(1,2); | |
16 | m.setBackgroundColor(colors.blue); | |
17 | m.write(" 2 "); | |
18 | -- 2 End | |
19 | -- 3 Start | |
20 | m.setCursorPos(1,3); | |
21 | m.setBackgroundColor(colors.blue); | |
22 | m.write(" 3 "); | |
23 | -- 3 End | |
24 | -- 4 Start | |
25 | m.setCursorPos(1,4); | |
26 | m.setBackgroundColor(colors.blue); | |
27 | m.write(" 4 "); | |
28 | -- 4 End | |
29 | -- 5 Start | |
30 | m.setCursorPos(1,5); | |
31 | m.setBackgroundColor(colors.blue); | |
32 | m.write(" 5 "); | |
33 | -- 5 End | |
34 | -- 10 Start | |
35 | m.setCursorPos(1,6); | |
36 | m.setBackgroundColor(colors.blue); | |
37 | m.write(" 10 "); | |
38 | -- 10 End | |
39 | -- 15 Start | |
40 | m.setCursorPos(1,7); | |
41 | m.setBackgroundColor(colors.blue); | |
42 | m.write(" 15 "); | |
43 | -- 15 End | |
44 | -- 20 Start | |
45 | m.setCursorPos(1,8); | |
46 | m.setBackgroundColor(colors.blue); | |
47 | m.write(" 20 "); | |
48 | -- 20 End | |
49 | -- 25 Start | |
50 | m.setCursorPos(1,9); | |
51 | m.setBackgroundColor(colors.blue); | |
52 | m.write(" 25 "); | |
53 | -- 25 End | |
54 | -- 50 Start | |
55 | m.setCursorPos(1,10); | |
56 | m.setBackgroundColor(colors.blue); | |
57 | m.write(" 50 "); | |
58 | -- 50 End | |
59 | -- BLUE NUMBERS END | |
60 | -- RED NUMBERS START | |
61 | -- 100 Start | |
62 | m.setCursorPos(10,1); | |
63 | m.setBackgroundColor(colors.blue); | |
64 | m.write(" 100 "); | |
65 | -- 100 End | |
66 | while true do | |
67 | local senderId, message, protocol = rednet.receive("boxes"); | |
68 | if message == "1" then | |
69 | m.setCursorPos(1,1); | |
70 | m.setBackgroundColor(colors.black); | |
71 | m.write(" "); | |
72 | elseif message == "2" then | |
73 | ||
74 | elseif message == "3" then | |
75 | ||
76 | elseif message == "4" then | |
77 | ||
78 | elseif message == "5" then | |
79 | ||
80 | elseif message == "10" then | |
81 | ||
82 | elseif message == "15" then | |
83 | ||
84 | elseif message == "20" then | |
85 | ||
86 | elseif message == "25" then | |
87 | ||
88 | elseif message == "50" then | |
89 | ||
90 | elseif message == "100" then | |
91 | ||
92 | elseif message == "150" then | |
93 | ||
94 | elseif message == "200" then | |
95 | ||
96 | elseif message == "250" then | |
97 | ||
98 | elseif message == "500" then | |
99 | ||
100 | elseif message == "750" then | |
101 | ||
102 | elseif message == "1000" then | |
103 | ||
104 | elseif message == "2000" then | |
105 | ||
106 | elseif message == "5000" then | |
107 | ||
108 | end | |
109 | sleep(1); | |
110 | end |