I've written a custom processor directive for scriptcs based on this answer, but I can't figure out how to make it available for use. I just get the error "Preprocessor directive expected". I'm guessing there's some special way of registering the directive, but I haven't found it yet.
Edit: I added some info to this issue on github.