bot190: also wrong

the } of the while(1) loop is behind the wait(1);

I cannot see any failure aswell.
Is this really all of your code? no includings nothing after this script or before it?
EDIT:
You might also do the following:
Open WED -> open your level -> go to File -> Map Properties and see if in the "script box" the right file is loaded.