Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Razor: The Cutting Edge UO Assistant

Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards.

Reply
 
Thread Tools Display Modes
Old 08-18-2007, 04:28 AM   #1 (permalink)
Lurker
 
Join Date: Aug 2007
Posts: 3
Default need help with ending a macro

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
Mojo Risen is offline   Reply With Quote
Old 08-21-2007, 11:14 AM   #2 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
Default

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

Zippy is offline   Reply With Quote
Old 08-21-2007, 06:52 PM   #3 (permalink)
Lurker
 
Join Date: Aug 2007
Posts: 3
Default

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
Mojo Risen is offline   Reply With Quote
Old 08-24-2007, 02:44 AM   #4 (permalink)
Forum Expert
 
Join Date: Jun 2006
Location: Texas
Age: 24
Posts: 1,160
Default

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.
dxmfixation is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5