我正在尝试使用计算机技术在我的世界中制作一个钥匙卡门,它在第 23 行给我一个错误,说是预期的
rs.setOutput("bottom", true)
while true do
if disk.isPresent("top") then
if fs.exists("disk/.cardauth/authkey") then
f = fs.open("disk/.cardauth/authkey", "r")
p = f.readAll()
if p == "UDoFk6ErYM" then
disk.eject("top")
rs.setOutput("bottom", false)
sleep(4)
rs.setOutput("bottom", true)
elseif p == "QmwZNWQsxFug6SMOYQnh" then
disk.eject("top")
break end
else
disk.eject("top")
end
else
disk.eject("top")
end
end
sleep(0.1)
end