Trammoonstone -
Thanks for the submission. I have not had a chance to test it for you, I'm about to head out to play some basketball, but after a quick first glance and your comments I have some quick feedback.
First, you need to add a header to your submission, take a look at some of the other approved scripts to see what I mean. There is not yet a standard way that you MUST do it but you should at least start the script with the pertinent info. Here is an example from one of mine:
;=======================================
; Script Name: XIIxOveR's Cartography Trainer
; Author: XIIxOveR
; Version: 3.0
; Revision: 04/27/11
; Purpose: Train Cartography
;=======================================
Next, you should make your clickx and clicky locations relative to the x/y position of the open Gump (sewing menu), this will take way the need for anyone else running the script to have their menu in the exact same location on their screen as you do. For example:
set %clickx #contposx + 335
set %clicky #contposy + 505
click %clickx %clicky
You'll find that many of us have our own standard click and gump wait subs in our arsenals, you can take a look at my script library for some examples in my sub thread. A click sub will typically be as simple as taking your click values and doing the above but with a sub you don't need to rewrite the click routine over and over in scripts that may have more than one click. Alot of us do other things in our subs to make them more flexible and stable but even a basic one that simply handles the click lines above would be a great thing for you to get used to using

The same goes for a Gump Wait sub, this way you don't need to manually wait 20 every time you open a menu or container. But at least start with setting up the #contposx and y based clicks, sub or no sub.
That will be a good start, if I have time a little later today I'll give 'er a whirl!
X