Advertisement
guitarplayer616

Open Rednet CC

Jun 28th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.11 KB | None | 0 0
  1. for _,v in ipairs(peripheral.getNames()) do
  2.     if peripheral.getType(v)=="modem" then
  3.         rednet.open(v)
  4.     end
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement