04-07-2012, 11:07 AM
REQUIREMENTS
1. a forge and an anvil
2. iron ingots
3. a supply container for iron ingots
4. four {4} iron ingots in your backpack
5. a smith's tool equipped
SETUP
A. Razor checks if there are any daggers in your backpack, and smelts them, if there are any.
1. You have to retarget your smith's tool and iron ingots in your backpack.
2. You must also have [dagger] in counters.xml:
[HTML]
B. Razor checks if you have ingots for making a dagger, and restocks them, if you don't have enough.
1. You must have [iron ingot%s (1BEF)] in your Restock-1 agent. Set amount to 4.
2. You have to retarget your supply container.
3. You must also have [iron ingots] in counters.xml:
[HTML]
C. Razor checks if there are no daggers in your backpack, and makes one, if the check if successful.
1. You have to retarget your smith's tool and iron ingots in your backpack.
CODE:
Code:
!Loop
// Put 4 iron ingots into your backpack
//
// SMELTING DAGGERS
//
Assistant.Macros.IfAction|50|1|1|Dagger
Assistant.Macros.PauseAction|00:00:00.5000000
[COLOR=#40E0D0]// retarget your smith's tool
Assistant.Macros.DoubleClickAction|1088760045|5091[/COLOR]
Assistant.Macros.WaitForTargetAction|10
[COLOR=#40E0D0]// retarget ingots in your backpack
Assistant.Macros.AbsoluteTargetAction|0|0|1076334442|68|119|0|7151[/COLOR]
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|14|0|0
Assistant.Macros.WaitForTargetAction|10
Assistant.Macros.TargetTypeAction|False|3922
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.EndIfAction
//
// RESTOCKING INGOTS
//
Assistant.Macros.IfAction|50|0|3|Iron ingots
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.WaitForTargetAction|10
[COLOR=#40E0D0]// retarget your supply container
Assistant.Macros.AbsoluteTargetAction|0|0|1073819149|2921|987|0|3645[/COLOR]
Assistant.Macros.EndIfAction
//
// MAKING DAGGERS
//
Assistant.Macros.IfAction|50|0|0|Dagger
Assistant.Macros.PauseAction|00:00:00.5000000
[COLOR=#40E0D0]// retarget your smith's tool
Assistant.Macros.DoubleClickAction|1088760045|5091[/COLOR]
Assistant.Macros.WaitForTargetAction|10
[COLOR=#40E0D0]// retarget ingots in your backpack
Assistant.Macros.AbsoluteTargetAction|0|0|1076334442|68|119|0|7151[/COLOR]
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|16|0|0
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.EndIfAction
