[QUOTE=ome6a1717] I believe the same thing would happen if you checked for variables first.
Let me ask you guys this - what if you have TEN different events you want to take place when using the escape key?
Would you use an else if command for every event?[/QUOTE]
Can you give an example? I found this confusing.. you mean that everytime I pressed the esc key it would behave differently? Is that it?
In any case, I got it to work here only by changing the order of the numbers, since what theubie said was right.