case 5
Global $iNumber = 8311211; number inputted after shift-clicking to resize the stack.
Global $iNumber2 = 10000
WinActivate('Diablo III')
While 1
If WinActive('Diablo III') Then
If _IsPressed('BB') Then
BlockInput(1)
MouseClick("Left", 149, 350, 1, 0) ;click on auction house
sleep(1500)
MouseClick("Left", 147, 140, 1, 0) ;click equip
sleep(1500)
MouseClick("Left", 150, 420, 10, 0);click legendary or set
Send("Born's Pauldrons")
MouseClick("Left", 212, 420, 10, 0);click max buyout
Send($iNumber) ; Inputs $iNumber variable.
MouseClick("Left", 147, 460, 1, 0); click search
sleep(1500)
MouseClick("Left", 447, 170, 1, 0);click item 1
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(1500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 205, 1, 0);click item 2
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 240, 1, 0);click item 3
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 275, 1, 0);click item 4
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 310, 1, 0);click item 5
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 345, 1, 0);click item 6
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 380, 1, 0);click item 7
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 415, 1, 0);click item 8
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 540, 1, 0)
MouseClick("Left", 447, 240, 1, 0);click item 9
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 575, 1, 0);click item 9
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
While _IsPressed('BB')
Sleep(50)
WEnd
EndIf
EndIf
WEnd
case 6
Global $iNumber = 8311211; number inputted after shift-clicking to resize the stack.
Global $iNumber2 = 10000
WinActivate('Diablo III')
While 1
If WinActive('Diablo III') Then
If _IsPressed('BB') Then
BlockInput(1)
MouseClick("Left", 149, 350, 1, 0) ;click on auction house
sleep(1500)
MouseClick("Left", 147, 140, 1, 0) ;click equip
sleep(1500)
MouseClick("Left", 150, 420, 10, 0);click legendary or set
Send("Cindercoat")
MouseClick("Left", 212, 420, 10, 0);click max buyout
Send($iNumber) ; Inputs $iNumber variable.
MouseClick("Left", 147, 460, 1, 0); click search
sleep(1500)
MouseClick("Left", 447, 170, 1, 0);click item 1
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(1500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 205, 1, 0);click item 2
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 240, 1, 0);click item 3
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 275, 1, 0);click item 4
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 310, 1, 0);click item 5
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 345, 1, 0);click item 6
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 380, 1, 0);click item 7
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 415, 1, 0);click item 8
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 540, 1, 0)
MouseClick("Left", 447, 240, 1, 0);click item 9
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
MouseClick("Left", 447, 575, 1, 0);click item 9
MouseClick("Left", 687, 490, 1, 0);click buyout
MouseClick("Left", 347, 386, 1, 0)
sleep(2500)
MouseClick("Left", 407, 244, 1, 0)
While _IsPressed('BB')
Sleep(50)
WEnd
EndIf
EndIf
WEnd