Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

2 Button Spam For World Of Warcraft?


  • Please log in to reply
2 replies to this topic
moston
  • Members
  • 2 posts
  • Last active: Jul 17 2010 12:45 PM
  • Joined: 16 Jul 2010
Hi Guys,

I am currently using this fairly straightforward script to spam button 3 in World Of Warcraft:

#ifWinActive World of Warcraft
{
$3::
   Loop 
   {
    if not GetKeyState("3", "P")
      break
     Send 3
     sleep 150
    }
return
}

What I'd like to do is to expand this to include button 2 as well, the idea being that when I hold 3 down, it spams 3, and when I hold 2 down, it spams 2. Doesn't need to happen at the same time, I don't need 3,2,3,2,3,2,3,2 spam.

I can't do it, I've tried, I failed :(

I've had a look on the search, nothing doing that I can see (apologies if it turns out I've missed it). Any help gratefully received.

Thanks a lot :)

Anonymously Famous
  • Members
  • 42 posts
  • Last active: Aug 07 2010 12:20 AM
  • Joined: 15 Jul 2010
Have you not tried this?
#ifWinActive World of Warcraft
{
$3::
   Loop
   {
    if not GetKeyState("3", "P")
      break
     Send 3
     sleep 150
    }
return
$2::
   Loop
   {
    if not GetKeyState("2", "P")
      break
     Send 2
     sleep 150
    }
return
}


moston
  • Members
  • 2 posts
  • Last active: Jul 17 2010 12:45 PM
  • Joined: 16 Jul 2010
Thanks for the reply. Just tried that one, loops 3 ok but not 2. Hmm. I'll have a tinker with it.