|
||
|
|||||||
| 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) |
|
Forum Newbie
Join Date: Dec 2005
Posts: 65
|
there should be a "then" command or something of the sort. in the macro's i make, i have to create tons of pieces just because there is no then command. for example, if my character is over 385 stones, i make it run to a smelt pot, smelt the ore, and then bank it. BUT after that if{jsdhka} statement is done, it goes right back to the beginning of the macro, and not to the next part below it. I end up having to execute another macro to continue from that spot copied and pasted into a .macro folder...which is a hassle. can't you make a "then" command or something that will continue running the macro after the 'if' is done running? it'd be a big help to a lot of us, im sure.
|
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
I think you want an "End If"
so you have Code:
If something do some stuff End If do other stuff
__________________
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 |
|
|
|
|
|
#4 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
I don't understand....
You know you can have multiple lines between If and End If right?
__________________
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 |
|
|
|
|
|
#5 (permalink) | |
|
Forum Newbie
Join Date: Dec 2005
Posts: 65
|
Quote:
i don't want it to end. i want it to keep going after it finds that the if statement is true. i meant closers to the instance of "if". use item in hand target a tree (if weight > 385 double click saw cut wood close gump AND THEN) use item in hand chop the next tree walk east walk east walk east walk east walk east use item in hand chop this tree (if weight > 385 double click saw cut wood close gump AND THEN) instead of it going back to the beginning if the macro is looped or ending if the macro is not with (if weight > 385 double click saw cut wood close gump ELSE) or am i doing this wrong? the if will only be used for weight checks etc, and i dont want something else to loop inside the if. doing it that way would make the macros even longer. i want there to be many ifs in a macro, but have it keep going once the if is executed, if it is. lol |
|
|
|
|
|
|
#6 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
use item in hand
target a tree if weight > 385 double click saw cut wood close gump end if use item in hand chop the next tree walk east walk east walk east walk east walk east use item in hand chop this tree I believe that is what you want.
__________________
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 | |
|
|