Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- text = {}
- id, mes = rednet.receive("uran", 1)
- if mes then
- term.clear()
- term.setCursorPos(1 ,1)
- text[1] = "Uranium left ".. mes
- end
- id, mes = rednet.receive("perl", 1)
- if mes then
- text[2] = mes
- end
- id, mes = rednet.receive("apple", 1)
- if mes then
- text[3] = mes
- end
- i = 0
- if text then
- while i <= table.getn(text) do
- if text[i] then
- print(text[i])
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement