Small whitepaper discussing Nessus and the functions related to writing NASL scripts along with some debugging tips.
You can download it from the following link: https://packetstormsecurity.com/files/download/54072/Writing_nasl_scripts.pdf
Source: https://packetstormsecurity.com/files/54072/Writing_nasl_scripts.pdf.html

