You're using tabs which don't get interpreted correctly. Configure Notepad++ to insert spaces for tabs instead. You can also convert all existing tabs to spaces in a file by doing Edit -> Blank Operations -> TAB to SpaceTried to mod game a little today (write a small scene), but I don't seem to get "If" function to work properly - it acts just like there is no conditions. Is there some trick to get it work?.. I'm using NP++, if this matters.
Attached is a file with a small test scene I wrote - just to make sure it does not work.
Other scenes (vanilla and a number of additional mods) seem not to have any issues with If.