Jump to content

Recommended Posts

Posted

Hi, this is my first post and first ever made script. So, I was going to make a script that would press "1" to send chat message and "SPACE" to prevent going AFK in WoW while its minimized (on background) but I can't get it working. I got it first to click "1" but not "SPACE" and vice versa but can't get them working together. And I'm not sure how I can make the script work while minimized. So here is what I have atm:

WinWaitActive("World of Warcraft")
                
          
HotKeySet("{PAUSE}", "Start")
HotKeySet("!{PAUSE}","Quit")

TogglePause()
                  
func Start()
HotKeySet("{PAUSE}")
HotKeySet("{PAUSE}", "TogglePause")
ToolTip('AutoClicking Started.',0,0)
While 1
Send("{1}")
Sleep(Random(250,1000))
Send("{SPACE}")
Sleep(Random(12000,24000))
WEnd
EndFunc

Func TogglePause()
ToolTip('AutoClicking Stopped.',0,0)
HotKeySet("{PAUSE}")
HotKeySet("{PAUSE}", "Start")
While 1
sleep(100)
WEnd
EndFunc

func Quit()
Exit
EndFunc

So what should I do now to get it work on background and send "1" and "SPACE" into WoW?

Thanks in advance!

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
  • Recently Browsing   0 members

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