The easiest way to understand how the scripts work is to open the Sample Scripted Transformation VMD, and try the transformation functions using the sample lab message.