|
||
|
|||||||
| 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,
I'm having issues getting my blacksmithing macro to work, and I think it's just a simple matter of syntax. Here's my macro, which is intended to (a) make gorgets continually until there's a skill gain; (b) pause for five minutes when there's a skill gain; and (c) loop. Here's the code: Code:
Assistant.Macros.DoubleClickTypeAction|4027|True Assistant.Macros.WaitForGumpAction|2002155655|False|300 Assistant.Macros.GumpResponseAction|16|0|0 Assistant.Macros.WaitForGumpAction|2002155655|False|300 Assistant.Macros.GumpResponseAction|0|0|0 Assistant.Macros.IfAction|4|0|has increased by Assistant.Macros.PauseAction|00:05:00 Assistant.Macros.EndIfAction Code:
Double Click (tongs (0FBB)) Wait for Gump (any) Gump Reponse (Button 16) Wait for Gump (any) Close Gump If (Sysmessage "has increased by 0.1") Pause 300.00sec End If Loop As it is, the macro never pauses, even after I see the "Your skill in Blacksmithing has increased by 0.1 ..." or whatever the message is. This is a RunUO shard. Thanks -- love the program! Last edited by orkspace; 08-24-2007 at 01:49 AM. Reason: clarified the question |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Location: Texas
Age: 24
Posts: 1,160
|
I'm almost entirely sure you need to put the beginning of the text in the if statement for it to work... I'd try "If Sysmsg 'your skill in' and see if it works.
__________________
"How do you kill that which has no life?" |
|
|
|
|
|
#3 (permalink) |
|
Lurker
Join Date: Aug 2007
Posts: 3
|
No such luck -- the if clause isn't triggered by the string "Your skill in Blacksmithy has increased by 0.1%."
The exact language of a sample message is: "Your skill in Blacksmithy has increased by 0.1% It is now 86.3%." Does the Sysmessage need to see the entire string? Is there a way to insert a wildcard? Thanks for the advice. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Location: Texas
Age: 24
Posts: 1,160
|
No, as a general rule you only need somewhere near the first 3 or 4 words for it to work. For instance I use "You create" for the system msg to let my macro know I broke my tool.
Let me try a few things and get back to you.
__________________
"How do you kill that which has no life?" |
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Location: Texas
Age: 24
Posts: 1,160
|
Got it... you need to go to the skill tab and select the option "display skill and stat changes" to get a sys msg that Razor can see... the syntax is as above "your skill in".
__________________
"How do you kill that which has no life?" |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|