{scripts} is for questions involving external scripts (small programs in source code form) related to (La)TeX.
scripts is for questions involving external scripts (small programs in source code form) related to (La)TeX. If your question is about using (La)TeX as a programming language, use programming; if your question is about typesetting code in LaTeX, use code, or the listings or minted packages.
Syntax Highlighting
If your question or answer includes code in a non-TeX language, you can syntax highlight it by doing the following:
<!-- language: lang-??? -->
code goes here
Then, replace the ??? with the code for your language. Here is a list of available codes for supported languages, e.g. lang-bash and lang-csh for shell scripts, lang-java for Java, lang-js for Javascript, lang-lua for Lua, lang-perl for Perl, lang-py for Python, lang-r for R, and lang-xml for XML.