Pilou’s two suggestions (and links) are a great start = The Commands Reference and Chapt 6 of the ZB Wiki.
Here are a few more things any starting ZScripter might find useful.
-
More details on ZScript syntax can be found inside ZBrush, itself, by pressing the Cmd button in the ZScript palette, then scrolling the alphabetized listing in the ZScript window at the bottom of the screen.
-
A ZBCentral advanced search using the keywords ZScript Source will turn up dozens of interesting threaded discussions on ZScript topics. Mixed in with these you’ll find more than a few shared .txt files listing source code. Many are worth downloading and studying in detail.
-
Remember too that the ZScript generator can show you how each and every button in the ZBrush interface does what it does. Many ZScripters have resolved questions of syntax by simply pressing ZScript>Record, entering a sequence of button presses and mouse clicks, then pressing ZScript>End Rec, and examining the text that was generated.
-
ZScript also helps you debug you code by halting the script and displaying the color-coded syntax text of your script. Many times you can pinpoint the syntax problem by scrolling to the where the listing turns black. Combine that with the error message. (Be aware though, that at times a mistake in bracket pairs will conspire to point to false debug information.)
Lastly, other ZScripters stop in regularly (Marcus and TVeyes being the most generous and helpful ones in the bunch) and willingly take time to answer basic scripting questions.
Good luck and welcome to the club.
Sven