

[AutoIt] Resource Gathering Macro with Mana->Stam
Make sure you have some resin in your bag. Adjust the globals at the
top to suit the amount of stam your toon has, your keybindings and if
you have a gathering mastery etc.... You can also add or remove calls
to the mana->stam routine as needed or break it down into three
harvest segments. It's flexible like that.
Start it with your gathering tool unsheathed.
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;" dir="ltr">HotKeySet("`", "Terminate")
Global $reps = 41
Global $wait = 10700
Global $rest = "0"
Global $sheath = "R"
Global $manatostam = "2"
Global $wand = "1"
Global $tool = "4"
WinWaitActive("Darkfall Online")
Sleep(2000)
Harvest()
Cast()
Cast()
Harvest()
Rest()
Func Harvest()
Send($tool)
Sleep(2000)
$i = 0
while ($i < $reps)
$i = $i + 1
MouseClick("Left")
Sleep($wait)
WEnd
EndFunc
Func Cast()
Send($wand)
Sleep(2000)
Send($manatostam)
Sleep(250)
MouseClick("Left")
Sleep(8000)
EndFunc
Func Rest()
Send($sheath)
Sleep(2000)
Send($rest)
Sleep(500)
MouseClick("Left")
EndFunc
Func Terminate( )
Exit 0
EndFunc</pre>
</div>
Credits for [AutoIt] Resource Gathering Macro with Mana->Stam
Penakle