... anyway, I tried it. So we may discuss the following script - for me it's running fine:
local CL_time
CL_DRef = "LES/saab/CL/manip_common"
create_command("FlyWithLua/LES/Saab/CL_increase",
"Move condtion lever towards Max",
"CL_time = os.clock() + .1\nset(CL_DRef, get(CL_DRef) + .01)\nset(CL_DRef, math.min(get(CL_DRef),1))",
"if os.clock() > CL_time then\nset(CL_DRef, (get(CL_DRef) + (os.clock() - CL_time) * .05))\nend\nset(CL_DRef, math.min(get(CL_DRef),1))",
"")
create_command("FlyWithLua/LES/Saab/CL_decrease",
"Move condtion lever towards Min",
"CL_time = os.clock() + .1\nset(CL_DRef, get(CL_DRef) - .01)\nset(CL_DRef, math.max(get(CL_DRef),0))",
"if os.clock() > CL_time then\nset(CL_DRef, (get(CL_DRef) - (os.clock() - CL_time) * .05))\nend\nset(CL_DRef, math.max(get(CL_DRef),0))",
"")