I have 2 weapons for Scout, the Flying Guillotine and the Sandman. And since the sandman can Stun, and the Guillotine does crits vs. stunned players, I thought it would be really cool if I could bind the Middle mouse button to hit the ball and then throw the Guillotine.

However, this is not working. Could anyone help out?

I realised the code I had given previously was wrong, so I've removed it. Now I only need to know how to Alt-Fire the sandman and fire the Guillotine by pressing one button only. I now know how to do it using multiple buttons.

I've using these 2 websites for the scripting code:

  • 1
    Be aware that servers can disable the wait command. – Powerlord Apr 22 '17 at 2:44
  • 1
    If there is anything that needs to be changed or something like that please tell me and I will change it. – Jawwad Lateef Apr 22 '17 at 6:05
  • 1
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins! – Frank Apr 22 '17 at 14:48
  • @JawwadLateef - Can you provide your updated code? – Robotnik Apr 26 '17 at 10:49
  • 1
    @Robotnik I am yet to test the code. When I do so I will update it here. – Jawwad Lateef Apr 27 '17 at 4:41

What i and a lot of other people do for this kind of thing is use external macro-software and other things similar to that to perform these actions for us.

There is lots of software that can be found on the internet that can do this sort of thing. Like https://www.jitbit.com/macro-recorder/ for instance. The best thing to do is look around and see what works best for you.


If you have a Corsair keyboard or mouse with buttons, then I would assume you have already thought about this, but just in case, I'll post it anyway.

You can use the Corsair Utility Engine (CUE) to create a macro. I personally have the K95 RGB and use the function/G keys on the left of the keyboard for a variety of macros. In my opinion, this is the quickest solution however, this obviously assumes you have a Corsair keyboard and or mouse.

Coincidentally, Corsair Keyboards are on sale today, August 14th, 2017 on Amazon. They are the deal of the day: Amazon Deal of the Day

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.