Chirp: XML Scripts
Scripts (stacks of blocks as well as single command blocks) can be exported and imported in Chirp using the right-click (context) menu:
Scripts are exported into an XML format and can be manually edited using a text editor or an XML editor.
Afterwards they can be imported into another project (or into the same one) by again right-clicking in the script pane and selecting "import script"
Caution: The underlying XML DOM/Parser is non-validating and therefore may cause errors if the XML structure is damaged by manual editing.
The XML part of Chirp has some known shortcomings, especially regarding variable blocks. Currently all variables will be handled as globals on import, even if they were local variables in the beginning. Another shortcoming is, that sprite references will be exported okay, but are lost in the import process.
