SHOW:
|
|
- or go back to the newest paste.
1 | - | local m = peripheral.wrap("back") |
1 | + | |
2 | setBackgroundColor(colors.gray) | |
3 | clear() | |
4 | - | m.setBackgroundColor(colors.gray) |
4 | + | setBackgroundColor(colors.red) |
5 | - | m.clear() |
5 | + | setTextColor(colors.orange) |
6 | - | m.setBackgroundColor(colors.red) |
6 | + | setCursorPos(5,4) |
7 | - | m.setTextColor(colors.orange) |
7 | + | write("SKYBLOCK") |
8 | - | m.setCursorPos(5,4) |
8 | + | setCursorPos(18,4) |
9 | - | m.write("SKYBLOCK") |
9 | + | write("RUDY ITP") |
10 | - | m.setCursorPos(18,4) |
10 | + | setCursorPos(7,6) |
11 | - | m.write("RUDY ITP") |
11 | + | write("SWIATY") |
12 | - | m.setCursorPos(7,6) |
12 | + | setCursorPos(18,6) |
13 | - | m.write("SWIATY") |
13 | + | write("WALUTA") |
14 | - | m.setCursorPos(18,6) |
14 | + | setCursorPos(8,8) |
15 | - | m.write("WALUTA") |
15 | + | write("SPAWN") |
16 | - | m.setCursorPos(8,8) |
16 | + | setCursorPos(18,8) |
17 | - | m.write("SPAWN") |
17 | + | write("INNE") |
18 | - | m.setCursorPos(18,8) |
18 | + | setCursorPos(10,10) |
19 | - | m.write("INNE") |
19 | + | write("ZABLOKOWANE") |
20 | - | m.setCursorPos(10,10) |
20 | + | setCursorPos(11,2) |
21 | - | m.write("ZABLOKOWANE") |
21 | + | write("REGULAMIN") |
22 | - | m.setCursorPos(11,2) |
22 | + | |
23 | - | m.write("REGULAMIN") |
23 | + | setCursorPos(1,12) |
24 | setBackgroundColor(colors.gray) | |
25 | - | m.setCursorPos(1,12) |
25 | + | setTextColor(colors.cyan) |
26 | - | m.setBackgroundColor(colors.gray) |
26 | + | write("Ekran Informacyjny Bonzaii.eu") |
27 | - | m.setTextColor(colors.cyan) |
27 | + | |
28 | - | m.write("Ekran Informacyjny Bonzaii.eu") |
28 | + | |
29 | ||
30 | setBackgroundColor(colors.red) | |
31 | setTextColor(colors.orange) | |
32 | - | local function drawPage(pageName, pageNum) |
32 | + | setCursorPos(26,12) |
33 | - | if pageName == "skyblock" then |
33 | + | write("MENU") |
34 | - | if pageNum == 1 then |
34 | + | |
35 | - | m.setBackgroundColor(colors.gray) |
35 | + | |
36 | - | m.clear() |
36 | + | |
37 | - | m.setCursorPos(1, 1) |
37 | + | |
38 | - | m.setTextColor(colors.orange) |
38 | + | |
39 | - | m.write("/is ") |
39 | + | |
40 | - | m.setTextColor(colors.black) |
40 | + | |
41 | - | m.write("- nowa wyspa/TP do wyspy") |
41 | + | |
42 | - | m.setCursorPos(1,2) |
42 | + | |
43 | - | m.setTextColor(colors.orange) |
43 | + | |
44 | - | m.write("/is invite nick ") |
44 | + | |
45 | - | m.setTextColor(colors.black) |
45 | + | |
46 | - | m.setCursorPos(5,3) |
46 | + | |
47 | - | m.write("- zapros gracza do wyspy") |
47 | + | |
48 | - | m.setCursorPos(1,4) |
48 | + | |
49 | - | m.setTextColor(colors.orange) |
49 | + | |
50 | - | m.write("/is accept ") |
50 | + | |
51 | - | m.setCursorPos(5,5) |
51 | + | |
52 | - | m.setTextColor(colors.black) |
52 | + | |
53 | - | m.write("- akceptuj zaproszenie") |
53 | + | |
54 | - | m.setCursorPos(1,6) |
54 | + | |
55 | - | m.setTextColor(colors.orange) |
55 | + | |
56 | - | m.write("/is leave ") |
56 | + | |
57 | - | m.setCursorPos(5,7) |
57 | + | |
58 | - | m.setTextColor(colors.black) |
58 | + | |
59 | - | m.write("- porzucasz wyspe") |
59 | + | |
60 | - | m.setCursorPos(1,8) |
60 | + | |
61 | - | m.setTextColor(colors.orange) |
61 | + | |
62 | - | m.write("/is kick nick ") |
62 | + | |
63 | - | m.setCursorPos(5,9) |
63 | + | |
64 | - | m.setTextColor(colors.black) |
64 | + | |
65 | - | m.write("- Kick gracza z wyspy") |
65 | + | |
66 | - | m.setCursorPos(1,10) |
66 | + | |
67 | - | m.setTextColor(colors.orange) |
67 | + | |
68 | - | m.write("/is restart ") |
68 | + | |
69 | - | m.setCursorPos(5,11) |
69 | + | |
70 | - | m.setTextColor(colors.black) |
70 | + | |
71 | - | m.write("- restart wyspy") |
71 | + | |
72 | - | elseif pageNum == 2 then |
72 | + | |
73 | - | m.setBackgroundColor(colors.gray) |
73 | + | |
74 | - | m.clear() |
74 | + | |
75 | - | m.setCursorPos(1, 1) |
75 | + | |
76 | - | m.setTextColor(colors.orange) |
76 | + | |
77 | - | m.write("/c ") |
77 | + | |
78 | - | m.setCursorPos(3,2) |
78 | + | |
79 | - | m.setTextColor(colors.black) |
79 | + | |
80 | - | m.write("- osiagniecia na wyspie") |
80 | + | |
81 | - | m.setCursorPos(1,3) |
81 | + | |
82 | - | m.setTextColor(colors.orange) |
82 | + |