For questions regarding use of the Tcl (Tool Command Language) scripting language.
Tcl (Tool Command Language) is a general purpose scripting language that as well being viable for stand-alone software development is often found embedded into EDA and testing software to provide scripting capabilities. The language is open source and cross-platform, full documentation and downloads may be found at the Tcl Developer Xchange website.