Modifying NMS FormMail

I’m using the same instance of NMS formmail for my main site (flash based) and alternative version (text based).

Can anyone give me a few pointers on editing the script so ‘$no_content’ can be set with a var sent with the forms?

Any help would be greatly appreciated, I’m not too sure how big of an ask this is as I’m not too familiar with CGI.