KelvinBouma

steam2.lua

Feb 24th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. gen1 = peripheral.wrap("bottom")
  2. gen2 = peripheral.wrap("top")
  3. modem = peripheral.wrap("left")
  4.  
  5. while true do
  6.     modem.transmit(1, 2, "bottomRight" .. "," .. gen1.getTankInfo()[1]["contents"]["amount"])
  7.     modem.transmit(1, 2, "topRight" .. "," .. gen2.getTankInfo()[1]["contents"]["amount"])
  8. end
Add Comment
Please, Sign In to add comment