I was wondering if there is any way to detect that \nonstopmode (or any other mode) is active. I don't believe it can be done in regular TeX, but eTeX has a parameter \interactionmode for this. Best, Karl