I would recommend reading vbScript|RhinoScript from here:
There is also info on getting started inside Rhino:
A great way to learn is to copy and paste different methods from RhinoScript help into RhinoScript (Tools>RhinoScript>Edit…) and modify them. Just add the code below and paste where it says to.
‘ Paste code for different methods here