|
||
|
|||||||
| 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) |
|
Newbie
Join Date: Mar 2006
Posts: 13
|
It would be very good if in future version was a while and endwhile statements...
for having for example such a macros : If (Hits<=10) While(Hits<=90) Double click (clean bandage%s%(0E21) Wait for target Exec: Target self Pause 4.00 sec endwhile Endif |
|
|
|
|
|
#2 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
You don't need while... simply loop the macro and it will do the same thing.
The bottom line is that you have to start and stop the macros manually, so the while statement would do nothing more than the looping if (which is exactly what a while is).
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
There already is a way to loop x times.
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#5 (permalink) | |
|
Newbie
Join Date: Mar 2006
Posts: 13
|
Quote:
??? its just an example... while is very powerful anterior looping statement that can be very useful in macroingWhat about an argument like lastsysmsg??? Last edited by Bluekilla; 03-03-2007 at 06:16 PM. |
|
|
|
|
|
|
#7 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Yes, inside a looping macro. Right-click and select Special Constructs and select Insert For Loop
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#8 (permalink) | |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Quote:
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
|
#10 (permalink) | |
|
Newbie
Join Date: Mar 2006
Posts: 13
|
Quote:
For (1 to <n>) // n should be a big number for us to get sure that the character did everything <The actions itselves> if (<our statement to control>) Break EndIf EndFor Last edited by Bluekilla; 03-04-2007 at 05:24 AM. |
|
|
|
|
|
|
#11 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
Razor will never gain a while loop or any other new constructs. Razor is *not* a programming tool and it is *not* designed to play the game for you. There *is* a tool out there that does this, if you want this kind of functionality use EasyUO.
__________________
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|