local tank = peripheral.wrap("front")
while true do
if redstone.getInput("bottom") == true then
tank.pushFluid("left")
tank.pullFluid("right")
elseif redstone.getInput("front") == true then
tank.pushFluid("right")
tank.pullFluid("left")
else
tank.pullFluid("right")
tank.pullFluid("left")
sleep(0.01)
end
end