That was one of my requests for documentation. Scripts are extremely nice tools but Bobcad has yet to release the docs on version 20 changes.
They do have some things to look at on the
www.bobcad.com\tech sight.
Sorin gave us some useful scripts that I can post but not on that free sight. Can't seem to get anything there right now.
However if you dig through the script forum there are several good examples as well as some info on undocumented commands.