local cmd = { [keys.down] = turtle.back, [keys.up] = turtle.forward, [keys.left] = turtle.turnLeft, [keys.right] = turtle.turnRight, [keys.space] = turtle.placeUp}repeat local k, k = os.pullEvent("key") if cmd[k] then print(table.concat({ keys.getName(k), ({cmd[k]()})[2] }, ", ")) else print(keys.getName(k), "?") enduntil cows_come_home