I have a script that compiles in the standalone nwnsc compiler, compiles in plugin version 1.1.0 with updates for the 35-40 version of NWN, but refuses to compile with plugin version 1.2.0.
w/ v1.2.0 (this is from another user's PC, but I had the exact same issue)

w/ nwnsc

w/ v1.1.0
