Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- m = peripheral.wrap("left")
- a = 0
- b = 0
- if m.isBee() then
- bee = m.analyze()
- for i,j in pairs(bee) do
- a = a+1
- if a ~= 14 then
- print(tostring(i) .. " ; " .. tostring(j))
- end
- if a == 14 then
- try = j
- write(tostring(i) .. " : ")
- for e , r in pairs (try) do
- b = b+1
- if b ~= 3 then
- write(tostring(r) .. "X")
- end
- if b == 3 then
- print(tostring(r))
- end
- end
- end
- end
- else
- print("There is no bee in the analyzer!")
- end
Advertisement
Add Comment
Please, Sign In to add comment