The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Nanolbaid"

From ATITD7
Jump to navigationJump to search
Line 1: Line 1:
Autoit Gatherer
+
<googlespreadsheet height="700" style="width: 110%">14CDn8qm5rTvJgKmDwX4TTJQkodI546uPm5t64Q6f1J4</googlespreadsheet>
 
 
HotKeySet("!a", SetLoc)
 
HotKeySet("!r", ToggleReady)
 
 
 
SetUp()
 
 
 
Func SetVars()
 
Global $bRunning = False
 
Global $aPos
 
Global $cPos
 
EndFunc
 
 
 
Func SetUp()
 
SetVars()
 
While $bRunning = False
 
 
 
WEnd
 
Gather()
 
EndFunc
 
 
 
Func Gather()
 
While $bRunning = True
 
If PixelGetColor($aPos[0], $aPos[1]) = $cPos Then
 
Local $aTemp = MouseGetPos()
 
MouseClick("left", $aPos[0], $aPos[1], 1, 0)
 
MouseMove($aTemp[0], $aTemp[1], 0)
 
Sleep(100)
 
EndIf
 
WEnd
 
EndFunc
 
 
 
Func SetLoc()
 
$aPos = MouseGetPos()
 
$cPos = PixelGetColor($aPos[0], $aPos[1])
 
EndFunc
 
 
 
Func ToggleReady()
 
$bRunning = Not $bRunning
 
EndFunc
 

Revision as of 14:45, 23 January 2016

<googlespreadsheet height="700" style="width: 110%">14CDn8qm5rTvJgKmDwX4TTJQkodI546uPm5t64Q6f1J4</googlespreadsheet>