The script editor allows writing Jmol script files, and supports autocomplete and syntax highlighting.