|
||
|
|||||||
| 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: Jul 2003
Posts: 60
|
Having a problem trying to work this script out for razor. How can I have to if statement go to different spots? Heres script friend made for mining. Unfortunately I cant figure out for the life of me a way to put a second statement to go elsewhere in the script.
Assistant.Macros.DoubleClickTypeAction|3897|True Assistant.Macros.WaitForTargetAction|1 Assistant.Macros.TargetRelLocAction|0|0 Assistant.Macros.PauseAction|00:00:00.5000000 Assistant.Macros.IfAction|4|0|there is no metal It looks to see if any ore, but then loops back. What if it cant mine spot? Any way to have more then one if then statements? Assistant.Macros.TargetRelLocAction|0|0 Assistant.Macros.PauseAction|00:00:01 Assistant.Macros.ExtCastSpellAction|32|4294967295 Assistant.Macros.WaitForTargetAction|3 Assistant.Macros.TargetTypeAction|False|7956 Assistant.Macros.PauseAction|00:00:02 Assistant.Macros.UseSkillAction|21 Assistant.Macros.EndIfAction Assistant.Macros.IfAction|4|0|you can't Assistant.Macros.TargetRelLocAction|0|0 Assistant.Macros.ExtCastSpellAction|32|4294967295 Assistant.Macros.WaitForTargetAction|30 Assistant.Macros.TargetTypeAction|False|7956 Assistant.Macros.PauseAction|00:00:02 Assistant.Macros.UseSkillAction|21 Assistant.Macros.EndIfAction Assistant.Macros.IfAction|50|1|5|Ore Assistant.Macros.DoubleClickTypeAction|6585|True Assistant.Macros.WaitForTargetAction|1 Assistant.Macros.TargetTypeAction|False|3634 Assistant.Macros.PauseAction|00:00:00.5000000 Assistant.Macros.DoubleClickTypeAction|5995|True Assistant.Macros.WaitForGumpAction|3970871777|Fals e|1 Assistant.Macros.GumpResponseAction|200|0|0 Assistant.Macros.WaitForTargetAction|1 Assistant.Macros.WaitForGumpAction|3970871777|Fals e|1 Assistant.Macros.TargetTypeAction|False|7154 Assistant.Macros.WaitForTargetAction|1 Assistant.Macros.EndIfAction |
|
|
|
|
|
#2 (permalink) |
|
Forum Master
|
it is the else command
if this is true: do list else do list end if
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#3 (permalink) |
|
Forum Newbie
Join Date: Jul 2003
Posts: 60
|
thanks for info. One last question. Instead of having to retype a whole lot of code, is there some type of command like the goto? heres an example from old Atari 800 basic hehe (yes im that old =P )
10 double click shovel 20 if ingots=30 then end 30 goto 10 arent numbers in razor I know, but was hoping might be a command? |
|
|
|
|
|
#4 (permalink) |
|
Forum Master
|
there is no goto function - might want to suggest it or something simular
closest thing you will get right now if weight is <= or >= a certain amiunt then do this - else do this - else or skip it - can not do by item count
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#5 (permalink) |
|
Forum Newbie
Join Date: Jul 2003
Posts: 60
|
Went to update what I posted below, and couldnt find it, then reply showed up later and couldnt delete this one so ereased it and reply below is what Ineed help with. Sorry about that.
Last edited by Lord-Xanthor; 02-15-2007 at 06:39 AM. Reason: made changes to script |
|
|
|
|
|
#6 (permalink) | ||
|
Forum Newbie
Join Date: Jul 2003
Posts: 60
|
Im at a loss again. Macro works fine, but uses 75 runebooks set to default so I dont lose runes if I die. I tried making it so it would pick different runebooks by using item type, except it keeps using same book, or if I use the second script inserted, it bypasses checks. Anyone have any idea maybe how to get the second part to work right or better idea?
Quote:
Second part I tried putting in to select buttons. It decides what button to press by looking at how many granites characters dug up. Only thing I could think of since I cant see an random number generator.. Quote:
|
||
|
|
|
|
|
#7 (permalink) |
|
Forum Master
|
when the person resets his shard, or makes 1 change to the ore info file - all your marked spots will be changed? - just an fyi on it
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|