Advertisement
Guest User

server

a guest
Apr 4th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local mfsu = peripheral.wrap("back")
  2. local com = peripheral.wrap("top")
  3.  
  4. com.open(2)
  5. while (true) do
  6.   local event, a, b, channel = os.pullEvent("modem_message")
  7.   local EU = mfsu.getEUStored()
  8.   com.transmit(channel, 2, EU)
  9.   print(EU)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement