HexChat np-script and a shell script for creating simple initial files.