Advertisement
Guest User

startup.lua

a guest
Sep 24th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. local chat = peripheral.find("chat_box")
  2. chat.setName "Announcer"
  3.  
  4. rednet.open "top"
  5.  
  6. while true do
  7.     local _, msg = rednet.receive "cccast"
  8.     chat.say(msg)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement