Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~CapsLock::
- if chat = 0
- {
- ImageSearch, CDX, CDY, 0, 0, A_ScreenWidth, A_ScreenHeight, *3 yazdir.png
- if ErrorLevel = 0
- {
- MouseGetPos, xpos, ypos
- MouseClick, right, %xpos%,%ypos%
- Click %CDX%, %CDY%
- MouseMove, %xpos%, %ypos%
- }
- if ErrorLevel = 1
- {
- MouseGetPos, xpos,ypos
- MouseClick, right, %xpos%,%ypos%
- Sleep 15
- ImageSearch, SX, SY, 0, 0, A_ScreenWidth,A_ScreenHeight, *3 yazdir.png
- MouseClick, left, %SX%, %SY%
- MouseMove, %xpos%, %ypos%
- }
- }
- return
Add Comment
Please, Sign In to add comment