Or you can simply use
change the flash player's version you are using like#IfWinActive Adobe Flash Player 13
RButton::
SendInput {enter}{enter}
return
11 or 12
I have tested spamming wasd while right clicking and Ive found that no keys manage to slip through, so I guess it does not matter. Theres also jani's solution.
If I had a background in programming then I would make the code more elegant. But I don't. I don't feel like spending a few hours learning AHK script just to cheat in a video game.