Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.wrap("top")
- local wmod = peripheral.wrap("left")
- local fluidStart = 0
- local fluidStop = 0
- local amountStart = 0
- local amountStop = 0
- local capStart = 0
- local capStop = 0
- wmod.closeAll()
- wmod.open(2)
- while true do
- local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
- if string.find(message, "F: ", 1) then
- print(message)
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement