So Im making a bot in wow (I know:))
Anyways what this script is doing is moving back and forth and checking a region for red pixels. unfortunatley it doesn't work.
do
controlsend("World of Warcraft", "", "", "{UP}")
sleep(9000)
controlsend("World of Warcraft", "", "", "{DOWN}")
sleep(9000)
$coord = Pixelsearch( 546, 460, 100, 100, 0xCE0F01, 20, 2 )
if not @error then
sleep(100)
MsgBox(0, "found", "Abled" )
Sleep(10)
mousemove( $coord[0], $coord[1], 2 )
sleep(100)
mouseclick( "left" )
ExitLoop
EndIf
sleep(3000)
until $check = 0
I can not figure out why It wouldnt be working, except for maybe I have it searching in the wrong area.
Please help:(