Jump to content

Help with script


gstromg
 Share

Recommended Posts

Hello, I do not know too much about scripting but essentially I just need to know the variable or "key name" for right clicking my mouse. Basically here is the code I want to change:

CODE
HotKeySet("{PAUSE}", "Start")

HotKeySet("!{PAUSE}","Quit")

TogglePause()

func Start()

HotKeySet("{PAUSE}")

HotKeySet("{PAUSE}", "TogglePause")

ToolTip('Spacebar started.',0,0)

While 1

Send("{Space}")

Sleep(Random(12000,24000))

WEnd

EndFunc

Func TogglePause()

ToolTip('AntiAFK Stopped.',0,0)

HotKeySet("{PAUSE}")

HotKeySet("{PAUSE}", "Start")

While 1

sleep(100)

WEnd

EndFunc

func Quit()

Exit

EndFunc

Now do I just change the "{Space}" to "{Right Click}"? I tried that and it didn't seem to work.

Link to comment
Share on other sites

I have no idea what your asking, but I suupose you want to know how to right click, and that would be MouseClick("Right")....

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

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...