Advertisement
Guest User

tanks

a guest
Apr 19th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. local mon = peripheral.wrap("top")
  2. local wmod = peripheral.wrap("left")
  3.  
  4. local fluidStart = 0
  5. local fluidStop = 0
  6.  
  7. local amountStart = 0
  8. local amountStop = 0
  9.  
  10. local capStart = 0
  11. local capStop = 0
  12.  
  13. wmod.closeAll()
  14.  
  15. wmod.open(2)
  16.  
  17. while true do
  18.  
  19.   local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
  20.  
  21.   if string.find(message, "F: ", 1) then
  22.      
  23.  
  24.  
  25.   print(message)
  26.   sleep(2)
  27.  
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement