Yup! If you look at the top of the script in the variable declaration area, you'll see I added %one, %two, etc and %up, %down. Each of these is the value that you were "offsetting from before...
Here's the before and after: (I'm using 4 - UP as my example)
Before:
Part for Row:
sub Row_4
set %clickx #contposx + 115
set %clicky #contposy + [color=yellow]189[/color]
click %clickx %clicky
wait 5
return
Part for Up/Down:
sub Row_4u
set %clickx #contposx + 95
set %clicky #contposy + [color=yellow]189[/color]
click %clickx %clicky
wait 5
return
After:
To Call It:
;This was at the top...
set [color=yellow]%four 189[/color]
set %up 22
;This is the actual call...
gosub Clicker %four %up
Actual Sub:
sub Clicker
set %clickx #contpos + 115
set %clicky #contpos + [color=yellow]%1[/color]
click %clickx %clicky
wait %clickdelay
set %clickx #contpos + 115 + %2
set %clicky #contpos + [color=yellow]%1[/color]
click %clickx %clicky
wait %clickdelay
return
Ok, now if you look at the example side by side...Anywhere that I highlighted in yellow is the same thing (189) for row 4. If it was row 3 you wanted, you would just change it to %three, which is 156.
Now the up/down was a little more complicated. You'll notice that I made it always #contpos + 115 + %2...this is because 115 is the center button (where you would click for the row), but up and down are on either side of it! So...%2 is the offset from 115. For up, you move to the right 22 (115 + 22), for down you move to the left 20 (or in this case: 115 + -20).
Hopefully that clears i up a little...I know it's confusing...feel free to keep posting questions or PM or even ICQ me!