Talk:Disk Drive (ComputerCraft)/@comment-5706331-20121105164124

i have coded the computer like this:

while true do

if disk.getLabel("right") == "ticket" then

rs.setOutput("left",true)

disk.eject("right")

sleep(3)

rs.setOutput("left", false)

end

sleep(1)

end

so it should open a door when i put a floppy disk called ticket in the disk drive but all i get is

bios:206: [string "startup"]:3: unexpected symbol

i dont know what to do can some1 plz help me?