Zscripting’s foundation is pretty old now but it does allow you to accomplish most things, even if they sometimes must be done in roundabout ways.
Although I have grown fond of the zscripting idiosyncrasies and enjoy writing scripts, much in the same way some people enjoy putting on full body latex suits and whipping each other, I would welcome a change. All that latex gives me a rash An SDK would be nice but a slightly lower level scripting API would be just as good.
Just a thought on the note interface that the merge down button seems to use. If Pixologic could rearrange the OK and Cancel button, not in the note interface but in code, we could solve this particular problem in a reliable fashion. The first [NoteButton,…] you add to a note interface is the one you can trigger by pressing the spacebar or the return key. Then you would simply write [IKeyPress, 13, [IPress, “Tool:Sub Tool:MergeDown”]] where 13 is the ascii value for the return key. Right now we are triggering the Cancel button.
In regards to connecting to a MySQL database I have not tried it but cannot see a reason why it would not work. Just keep in mind that you would need to write an external library to connect and any communication with ZBrush would be through a memory block your zscript supplies.