Ok......Maybe....maybenot...
I know this isn't the best place for this.....But I'm looking for someone that can help me bugfix this razor macro I made....
If I can't get help here then I'll have to post it in the razor forums and live with the chance of getting called a nuub...
Anyway...the macro....
Its built to find any wool and spin it and use the yarn on a loom.....
!Loop
Assistant.Macros.IfAction|50|1|1|wool
Assistant.Macros.DoubleClickTypeAction|3576|True
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.AbsoluteTargetAction|0|0|1074456981|850|2260|7|4121
Assistant.Macros.DoubleClickTypeAction|3576|True
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.AbsoluteTargetAction|0|0|1074456981|850|2260|7|4121
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|1|1|yarn
Assistant.Macros.DoubleClickTypeAction|3613|True
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.TargetTypeAction|False|4193
Assistant.Macros.DoubleClickTypeAction|3613|True
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.TargetTypeAction|False|4193
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:01
My problem is that even though both individual parts work...I want it to auto stop when the yarn gets to 0 rather than just keep mindlessly zipping through the script as it does now
The downloadable file can be found at ....
http://www.sendspace.com/file/xr4co5
Any help would be great!
Razor macro help
Razor macro help
--
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!
thinking of razor really breaks the gears in my head right now 
I think you will need to experiment with those special actions.
1. Go to "hot keys", expand the "Macros" field, there you will see a command for "stop macro".
2. Assign a shortkey for it
3. begin recording a macro, and hit that keycombination you set for "stop"
4. go to your macros folder and check the one you just recorded - then copy-paste the line to where you want it in your real macro.
This works for all kinds of stuff, you can also run organizer agents or target certain objects... Good luck.

I think you will need to experiment with those special actions.
1. Go to "hot keys", expand the "Macros" field, there you will see a command for "stop macro".
2. Assign a shortkey for it
3. begin recording a macro, and hit that keycombination you set for "stop"
4. go to your macros folder and check the one you just recorded - then copy-paste the line to where you want it in your real macro.
This works for all kinds of stuff, you can also run organizer agents or target certain objects... Good luck.
+Colibri, Administrator of UO Excelsior Shard
Don't know what the purpose of your life is? Well then make something up!
(Old Colibrian proverb)
Don't know what the purpose of your life is? Well then make something up!

(Old Colibrian proverb)
*Edited cos I'm an idiot and didn't read it properly*
No...I need to to look at the amount of wool and yarn...
If there is wool...then spin it...if there is yarn then put it on the loom....
When the woll is used up then stop that routine...when yarn is all gone then stop *all* routines
But i can't get it to do it....
And Col.....I tried adding in the keypress.....But it just keeps running through the macro....It may be waiting for me to press a key
You woudl have thought they woudl have put in a simple If command...
If ITEMCOUNT <= 0 STOP
Terrible oversight if you ask me...
Oh well....I have given up.....Razor macros are too limited....
I'm gonna go back to autopilot.....I have a very good macro on there that will do it all and place it on a key for me.
But the problem is that its another program to have running and I can't swap windows.....
Oh well.....It was worth a try....
Thanks for the help guys
No...I need to to look at the amount of wool and yarn...
If there is wool...then spin it...if there is yarn then put it on the loom....
When the woll is used up then stop that routine...when yarn is all gone then stop *all* routines
But i can't get it to do it....
And Col.....I tried adding in the keypress.....But it just keeps running through the macro....It may be waiting for me to press a key
You woudl have thought they woudl have put in a simple If command...
If ITEMCOUNT <= 0 STOP
Terrible oversight if you ask me...
Oh well....I have given up.....Razor macros are too limited....
I'm gonna go back to autopilot.....I have a very good macro on there that will do it all and place it on a key for me.
But the problem is that its another program to have running and I can't swap windows.....
Oh well.....It was worth a try....
Thanks for the help guys
--
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!
AHA!!!!
Did it....(Thanks Col!)
I was doing the instructions wrong....
I was wrapping the whole thing in an 'If' command
That was why it was going wrong.....
I had to put the If yarn <= 0 at the end in its own part....
Assistant.Macros.IfAction|50|0|0|yarn
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
I have no idea why that was so stupidly hard to make.....
On a side note....I have 120 odd bolts of cloth....If anyone needs any PM Kalamain !!!!! hehehe!
Did it....(Thanks Col!)
I was doing the instructions wrong....
I was wrapping the whole thing in an 'If' command
That was why it was going wrong.....
I had to put the If yarn <= 0 at the end in its own part....
Assistant.Macros.IfAction|50|0|0|yarn
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
I have no idea why that was so stupidly hard to make.....
On a side note....I have 120 odd bolts of cloth....If anyone needs any PM Kalamain !!!!! hehehe!
--
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!
CaMg(CO3)2 - Its Dolomite baby.....Dolomite!