I could probably create two new counters for axes and jointing planes and set the macro to say something when you run out of either of those, but I figured it's easy enough to see if you don't have an axe in your hand or a jointing plane in your pack.
Once the macro is set up, it will ask you to target a tree. It will chop that tree until it's empty and then notify you to find another tree. Rinse and repeat until something goes wrong (out of sight, overweight, out of range), at which point the macro notifies you.
Code: Select all
!Loop
// Logs
Assistant.Macros.IfAction|50|1|1|Logs
Assistant.Macros.DoubleClickTypeAction|4144|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
// Overburdened
Assistant.Macros.IfAction|5|1|300
Assistant.Macros.SpeechAction|8|38|3|ENU|0|Overweight
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.ElseAction
// Broken Tool
Assistant.Macros.IfAction|4|0|you broke
Assistant.Macros.DressAction|Lumberjack
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
// Too Far
Assistant.Macros.IfAction|4|0|that is too far away
Assistant.Macros.SpeechAction|8|52|3|ENU|0|Too far away.
Assistant.Macros.SetLastTargetAction
Assistant.Macros.EndIfAction
// No Sight
Assistant.Macros.IfAction|4|0|target cannot be seen
Assistant.Macros.SpeechAction|8|52|3|ENU|0|Out of sight.
Assistant.Macros.SetLastTargetAction
Assistant.Macros.EndIfAction
// Tree Empty
Assistant.Macros.IfAction|4|0|there's not enough wood here to harvest
Assistant.Macros.SpeechAction|8|52|3|ENU|0|Tree empty.
Assistant.Macros.SetLastTargetAction
Assistant.Macros.EndIfAction
// Main Loop
Assistant.Macros.HotKeyAction|1305|
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.LastTargetAction
Assistant.Macros.PauseAction|00:00:01
// End Not Overweight
Assistant.Macros.EndIfAction