Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Razor Macros for Imagine Nation
#2


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]
Dagger
dgr 3922
-1
[/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]
Iron ingots
irn 7151
0
[/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


Messages In This Thread
Razor Macros for Imagine Nation - by Elia - 04-07-2012, 11:04 AM
Razor Macros for Imagine Nation - by Elia - 04-07-2012, 11:07 AM
Razor Macros for Imagine Nation - by Elia - 04-07-2012, 11:16 AM
Razor Macros for Imagine Nation - by Elia - 04-07-2012, 11:18 AM
Razor Macros for Imagine Nation - by Elia - 04-07-2012, 11:20 AM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 09:07 PM
Razor Macros for Imagine Nation - by Elia - 04-08-2012, 09:48 PM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 10:02 PM
Razor Macros for Imagine Nation - by Elia - 04-08-2012, 10:16 PM
Razor Macros for Imagine Nation - by Elia - 04-08-2012, 11:18 PM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 11:18 PM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 11:20 PM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 11:21 PM
Razor Macros for Imagine Nation - by Elia - 04-08-2012, 11:25 PM
Razor Macros for Imagine Nation - by tranith - 04-09-2012, 12:07 AM
Razor Macros for Imagine Nation - by Elia - 04-09-2012, 05:18 PM
Razor Macros for Imagine Nation - by tranith - 04-08-2012, 11:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)