Jump to content
Sign in to follow this  
Idkwhattosay

If PixelGetColor Help

Recommended Posts

Idkwhattosay

Ok i am a total beginner , so dont go to hard with me :mellow:

I'm doin a script but its not workin :)

While (1 )
If WinActive("SRO_Client")and PixelGetColor( 838, 667) == 0x8F1110 Then
MouseClick("left", 830, 732, 1, 1)
Sleep(100)
EndIf

If WinActive("SRO_Client")and  PixelGetColor( 214, 414) == 0xFF8A00 Then
MouseClick("left", 214, 414, 1, 1)
Sleep(100)
EndIf

If WinActive("SRO_Client")and  PixelGetColor( 241, 433) == 0xFF8A00 Then
MouseClick("left", 241, 433, 1, 1)
Sleep(100)
EndIf

If WinActive("SRO_Client")and  PixelGetColor( 288, 417) == 0xFF8A00 Then
MouseClick("left", 288, 417, 1, 1)
Sleep(100)
EndIf

If WinActive("SRO_Client")and  PixelGetColor( 217, 467) == 0xFF8A00 Then
MouseClick("left", 217, 467, 1, 1)
Sleep(100)
EndIf
WEnd

thanks in advance

Edited by Idkwhattosay

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.