This is exactly why I don't use pre-made scripts. I've heard lots of people who use nnscript and have problem processing certain codes.
Then again, I don't know what kind of a script you're running. As far as the provided code is concerned, it works for me.