Jump to content

Recommended Posts

Posted

Well i made a script for a game that rightclicks but now I want to be able to be on another window and the script still do auto right click for the game. The game is called UniquePT. Can some1 help me out?

This is what I got now.

HotKeySet("{END}", "_Exit")
HotKeySet("{PAUSE}", "_Pause")

Global $Paused

While 1
   Sleep(100)
   MouseClick("right")
   Sleep(100)

WEnd

Func _Pause()
   $Paused = NOT $Paused
   While $Paused
      Sleep(1)
   WEnd
EndFunc

Func _Exit()
   Exit
EndFunc
Posted
Posted

ic, but how do i excactly use the controlclick command because i tried it but didnt know what to do i had ControlClick ("UniquePT", "Right")

But that didnt 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...