Jump to content

help with a right click script


lummel
 Share

Recommended Posts

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
Link to comment
Share on other sites

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...