Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for _,b in pairs (rs.getSides()) do
- if peripheral.getType(b) == "modem" then
- print("modemet talaltam a ", b, " oldalon")
- rednet.open(b)
- end
- if peripheral.getType(b) == "monitor" then
- print("monitort talaltam a ", b, " oldalon")
- m = peripheral.wrap(b)
- end
- if peripheral.getType(b) == "drive" then
- print("meghajtot talaltam a ", b, " oldalon")
- end
- if peripheral.getType(b) == "printer" then
- print("nyomtatot talaltam a ", b, " oldalon")
- end
- end
- sleep(2)
- rednet.close(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement