Plazter

rednet monitor

Mar 31st, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. rednet.open("back")
  2. while true do
  3. m=peripheral.wrap("left")
  4. m.clear()
  5. m.setCursorPos(1,1)
  6.  
  7. event, 237, plaz = os.pullEvent()
  8. event, 237, alt = os.pullEvent()
  9. if plaz == rednet_message" then
  10. m.write("Plazter has entered the cave!")
  11. end
  12. if alt == "rednet_message" then
  13. m.write("AlternateLogic has entered the cave!")
  14. end
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment