04-07-2012, 11:16 AM
REQUIREMENTS
1. iron ingots
2. a tinker's tool
3. a supply container for iron ingots and crafted lockpicks
SETUP
A. Razor checks if there any lockpicks in your backpack, and throws them out into a box, if there are any.
1. You must have [lockpick%s% (14FC)] in your Organizer-1 agent. Don't forget to Set Hot Bag (where to throw them out into).
2. You must also have [lockpicks] in counters.xml:
[HTML]
B. Razor checks if there are enough iron ingots in your backpack.
1. You must have [iron ingot%s (1BEF)] in your Restock-1 agent. Set amount to 100.
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 lockpicks in your backpack, and makes them.
1. You have to retarget your tinker's tool in your backpack.
CODE:
Code:
!Loop
//
// ORGANISING LOCKPICKS
//
Assistant.Macros.IfAction|50|1|1|Lockpick
Assistant.Macros.PauseAction|00:00:00.7000000
Assistant.Macros.HotKeyAction|0|Organizer Agent-1
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
//
// RESTOCKING INGOTS
//
Assistant.Macros.IfAction|50|0|2|Iron ingots
Assistant.Macros.PauseAction|00:00:00.7000000
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.PauseAction|00:00:01
Assistant.Macros.EndIfAction
//
// MAKING LOCKPICKS
//
Assistant.Macros.IfAction|50|0|0|Lockpick
Assistant.Macros.PauseAction|00:00:00.7000000
[COLOR="#40E0D0"]// retarget your tinker's tool
Assistant.Macros.DoubleClickAction|1156482847|7868[/COLOR]
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|121|0|0
Assistant.Macros.WaitForGumpAction|949095101|True|10
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.EndIfAction