DLively already gave you the answer earlier tongue :

Quote:
Quote:
1) I attached a level to my main script in "Map properties" window.

You mean: You attached a script to a level.

There are TWO KINDS OF INCLUDES:

#include <mtlFX.c> //Default files
#include "thisoniscustom.c" //custom files


From the holy manual:

Quote:
If the script name is given in angular brackets <..>, it is searched in the include folder. The include folder contains all common .h include files and the default.c script.
If the script name is given in double quotes "...", it is first searched in the work folder, then in the path defined by PRAGMA_PATH. The file search PATHs given in a WDL file are irrelevant for #include statements.