bugscz

Minecraft - Wireless client

Jun 15th, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local modem = peripheral.wrap("left")
  2. local mon = peripheral.wrap("back")
  3. modem.open(1) --channel
  4.  
  5. while true do
  6. local event, modemSide, senderChannel,
  7.   replyChannel, message, senderDistance = os.pullEvent("modem_message")
  8.  mon.clear()
  9.  mon.setCursorPos(1,1)
  10.  mon.write("UU: " ..message)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment