This will also not work. Because the first condition will trigger the else statement.
He has to use a boolean and reset it with key release.
I have to go now. I will post a solution later, if the problem then still exists.
?
[attachment=0:2rizor7m][/attachment:2rizor7m]
[attachment=1:2rizor7m][/attachment:2rizor7m]
Yann - good idea about the TRUE/FALSE globals. I agree about using boolean being different to globals just thought I would offer a possible variation...