I have tried several different configurations at each of the If-Then-Else junctions, and have not been successful in getting it to run past line 7
while true do
WR = peripheral.wrap("right")
WR.setfreq(947)
T = turtle.suckup(59)
turtle.dropup()
q = WR.get()
If T == true Then
WR.set(true)
print("Quarry overflow prevention Enabled")
sleep(15)
Elseif q == True Then
WR.set(False)
print("Quarry overflow prevention Disabled")
Else
print("Quarry operating maintained")
end
end
end












