Here is a basic macro for mace and shield. Never done this before, just now made a quest and
recorded this short macro.
It's a razor macro, because UO Steam is not my friend lol
This is just an example, only for one NPC.
Basically this macro recalls near NPC, buying N axes, then recalls to the library, and in a loop donates those axes.
Easy to record it in razor, but I don't know how to make it in UO Steam, only started to learn about it...
But the trick is, you need to record this by yourself, because need to prepare runes, for each NPC,
(can put them in runebooks also, and record opening the book), then set up buying agent, need to take gold everytime, make pauses everywhere and somehow handle the situation when locations are blocked.
Its really a lot of work to create a good macro that can handle every situation, and it can be thousands of lines of code, and for me is boring to use something like this. Thats the reason i am not doing any hw quests or mining and stuff like the glasses - too boring. I like more to hunt and buy ingots or hw saws from other players)))
Code:
//cast recall
Assistant.Macros.ExtCastSpellAction|32|4294967295
Assistant.Macros.WaitForTargetAction|30
//target a rune near NPC selling axes
Assistant.Macros.AbsoluteTargetAction|0|0|1091005090|64|115|0|7956
Assistant.Macros.PauseAction|00:00:03
//buy axes (need to set up buying agent, buy N axes)
Assistant.Macros.ContextMenuAction|0x110F77|1|3006103
Assistant.Macros.PauseAction|00:00:01
//cast recall
Assistant.Macros.ExtCastSpellAction|32|4294967295
Assistant.Macros.WaitForTargetAction|30
//recall in library
Assistant.Macros.AbsoluteTargetAction|0|0|1091005088|77|116|0|7956
Assistant.Macros.PauseAction|00:00:02
//loop for donating N axes, 3 axes in this example
Assistant.Macros.ForAction|3
Assistant.Macros.DoubleClickAction|131|400
Assistant.Macros.WaitForGumpAction|3780646988|False|300
Assistant.Macros.GumpResponseAction|303|0|0
Assistant.Macros.WaitForTargetAction|30
//from absolute change to target by type
Assistant.Macros.TargetTypeAction|False|3911
Assistant.Macros.WaitForGumpAction|3780646988|False|300
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndForAction