write("Choose side: ")
side = read()
if peripheral.isPresent(side) then
end
While trying this code I am getting some wonky behaviour.
Most of the time I get the "attempt to call nil" error on the isPresent call, but sometimes it works
Writing it in the lua promt works fine












