meuced

RepeaterSimple

Feb 26th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. modem = peripheral.wrap("left")
  2.  
  3. while true do
  4.         --print("je rente dans while")
  5.         modem.open(200)
  6.         local event, modemSide, senderChannel, replyChannel, text, senderDistance = os.pullEvent("modem_message")
  7.         modem.transmit(200,200,text)
  8.         modem.close(200)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment