The actual script is a developed version of the one that you can find in the maxscript help file, Practical Examples: "Create Scripted Geometry Plug-in"
this one has two additional features:
1-it has a height property for the inner part
2-it has a limit property that you can use to limit the radial creation between 0 and 180 degrees
note: after installing you can go to create panel, geometry, standard primitives