|
||
|
|||||||
| Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Lurker
Join Date: Aug 2007
Posts: 3
|
Hi all. I've searched the forums but haven't had any luck finding this info.
I want to add something to my mining macro that will end the macro if I don't have any shovels in my pack. basically I'm guessing it would be something like 'end if sysmsg shovel not found' but I'm not sure thanks for any help |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
You can record yourself using the "stop current macro" hotkey.
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
|
|
#3 (permalink) |
|
Lurker
Join Date: Aug 2007
Posts: 3
|
the only thinkg I dont understand now is how the SysMsg thing works. Does it need the exact message of the 'shovel not found error' msg to execute or will any reference to shovel work?
other than the syntax then, it might look like this If SysMsg shovel "end current macro hotkey" End If |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Location: Texas
Age: 24
Posts: 1,160
|
The way I do it is have an active counter for my shovels. That way I can use:
If Shovel Count <= 0 Exec: End Current Macro End If -BUT- I prefer: If Shovel Count <= 0 Exec: Play: Make Shovel End If And have it linked to a macro called 'Make Shovel' that says Dbl Click Tool Kit, Click button, etc. At the end of that macro make it return to your main mining script and you can effectively mine forever.
__________________
"How do you kill that which has no life?" Last edited by dxmfixation; 08-24-2007 at 02:47 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|