Jump to content

Recommended Posts

Posted

hello i want to let me mouse click on a place MouseClick(1662,880)

how do i put that in this script?

Hotkey

;HotKeySet("!e", "_Exit")

HotkeySet ("!e","_Exit")

ToolTip("Running...",0,0)

while 1

$Variable = PixelSearch(464,52,1735,944,0xFEFFEA)

If IsArray($Variable) = True Then

MouseMove($Variable[0], $Variable[1], 1) ; 1

MouseClick("left")

sleep(4000)

Endif

WEnd

;

Func _Exit ()

;

Exit

; EndFunc

Endfunc

Posted

i mean how do i let me MouseClick go to location (1662,880)and click after he cliked the pixel search like if he got clicked on the pixel than let the mouse go to 1662,880 and click

Posted

;HotKeySet("!e", "_Exit")

HotkeySet ("!e","_Exit")

While 1

ToolTip("Running...",0,0)

$Variable = PixelSearch(464,52,1735,944,0xFEFFEA)

If IsArray($Variable) Then

MouseClick("left",$Variable[0], $Variable[1] ,1,0)

Sleep(4000)

MouseClick(1590,892)

EndIf

WEnd

;

Func _Exit ()

;

Exit

; EndFunc

Endfunc

if u mean it like that it still dosent work. still dosent go to 1590,892

Posted

thanks it works but can it be like this to

;HotKeySet("!e", "_Exit")

HotkeySet ("!e","_Exit")

While 1

ToolTip("Running...",0,0)

$Variable = PixelSearch(464,52,1735,944,0xFEFFEA)

If IsArray($Variable) Then

MouseClick("left",$Variable[0], $Variable[1] ,1,0)

Sleep(4000)

MouseClick("left",1590,892)

MouseClick("left",$Variable[0], $variable[1] ,1,0)

Sleep(4000)

MouseClick("left",1250,435)

EndIf

WEnd

;

Func _Exit ()

;

Exit

; EndFunc

Endfunc

  • 4 months later...
Posted

i made bot but i have 1 problem more whit the pixel the glitters keep changing colors and not always the same color can some 1tell me how i fix that bec now me bot still dosent work ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...