Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. if rednet.isOpen
  2. then
  3. while true do
  4. id, mes = rednet.receive()
  5.  
  6. if (mes = "tankInfo")
  7. then
  8. id, nameLiquid = rednet.receive()
  9. if, countLiquid = rednet.receive()
  10. end
  11. end
  12. else
  13. print("rednet doesn't open")
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement