Below is a basic NSE (nmap Scripting Engine) script example written in LUA. It contain the most basic parts of what a NSE script should contain.
...