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 06-23-2009, 02:10 PM   #1 (permalink)
Forum Novice
 
fikusunc's Avatar
 
Join Date: Feb 2004
Location: Eaton, Ohio
Age: 35
Posts: 111
Send a message via ICQ to fikusunc
Default Exit Loop Question

Is it possible to exit the for loop before going thru all itterations? Like this

Code:
Assistant.Macros.ForAction|25
Assistant.Macros.DoubleClickTypeAction|3897|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|2|0

Assistant.Macros.IfAction|4|0|there is no metal here to mine //Check For System Message

Assistant.Macros.ExitForAction //<--- ** Exit The Loop Completely???? **

Assistant.Macros.EndIfAction //End If Statement

Assistant.Macros.PauseAction|00:00:01.8000000
Assistant.Macros.EndForAction

//Do More Stuff In Macro After Loop Is Finished
So if you start the loop and on loop 7 you find the system message, exit the loop and move on.
__________________
My script library so far
fikusunc is offline   Reply With Quote
Old 06-23-2009, 02:30 PM   #2 (permalink)
Forum Novice
 
fikusunc's Avatar
 
Join Date: Feb 2004
Location: Eaton, Ohio
Age: 35
Posts: 111
Send a message via ICQ to fikusunc
Default

After a lot of hunting and searching, I found this answer from zippy

Quote:
Originally Posted by Zippy View Post
If you mean a For loop, then no. If you mean that you want to stop a looping macro, then there is a hotkey for this. Record yourself using that hotkey and it will stop the current macro when it is hit.
__________________
My script library so far
fikusunc 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 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5