Hey, WingedOne – fun script!
I especially like the subtle touches, like the slightly-varying shades of gold. (Not to mention the comments spread throughout, makes it easy to read.)
I don’t feel there’s anything lacking in your script, but since you mention some difficulty removing points, maybe I can offer a suggestion:
Here’s a line from your script:
<BLOCKQUOTE>quote:</font><HR>[IClick,TOOL:MODIFIERS:INITIALIZE:Outer Section,rand(117),rand(117),-200,-200,rand(117),rand(117)]
<HR></BLOCKQUOTE>
The function ‘rand()’ creates a random number every time it’s called. So in essence, the above line translates to this: “Make a point on the ‘Outer Section’ ZGraph at some random place, move it to -200,-200 (to convert it to a corner point), then move it to ANOTHER random place.”
Since you never know where the point ends up, you can’t remove it when it’s done.
My suggestion is, set a variable first. The line above could read something like:
<BLOCKQUOTE>quote:</font><HR>[VarSet,point1x,rand(117)]
[VarSet,point1y,rand(117)]
[IClick,TOOL:MODIFIERS:INITIALIZE:Outer Section,point1x,point1y,-200,-200,point1x,point1y]
<HR></BLOCKQUOTE>
Then, after you draw the gear, you can remove the point:
<BLOCKQUOTE>quote:</font><HR>
[IClick,TOOL:MODIFIERS:INITIALIZE:Outer Section,point1x,point1y,-200,-200]
<HR></BLOCKQUOTE>
Again thanks for the nifty script. Keep 'em coming!
dave