View difference between Paste ID: Vw9W6jXz and 36eYKUd0
SHOW: | | - or go back to the newest paste.
1
HotKeySet("{End}", "MyExit")
2
AutoItSetOption("WinTitleMatchMode", 2)
3
WinActivate("Last")
4
$i = 0
5
sleep(3000)
6
Dim $count = 1
7
Do
8
    $count = $count + 1
9
	MouseClick("Left", 4590, 907, 1, 0)   ;location of [sell] in item
10
	Sleep(700)
11
	MouseClick("Left", 4660, 370, 1, 0)   ;location of sell button on sell screen
12
	sleep(1400)
13-
	If mod($count,16) == 0 Then				 ;This will execute every 15 iterations
13+
	If mod($count,16) == 0 Then				 ;This will bank every so often (increase/decrest "16" 
14
								;for more/less frequency)
15
	   MouseClick("Left", 4121, 566, 1, 0)   ;location of Bank in menu
16
	   sleep(1000)
17
	   MouseClick("Left", 4783, 399, 1, 0)   ;location of deposit button
18
	   sleep(1000)
19
	   MouseClick("Left", 4122, 513, 1, 0)   ;location of Inventory in menu
20
	   sleep(1000)
21
    EndIf
22
	   
23
Until $i = 1
24
		
25
Func MyExit()
26
	Exit
27
EndFunc
28
Run("SellShit.exe")