Run this script and keep it open. When playing a game, press 'n' to autorun with the UP arrow key and 'm' to stop. You can also stop by pressing the UP key again :)
I originally made this for the online MMO game Tankionline, but it can be used for any game using arrow keys. You can also change the keys :)
You need to install two python packages which are easy to install via pip. The two packages are PyAutoGUI and keyboard.
Use the following commands:
pip install pyautogui
pip install keyboard
If you get any error regarding python or pip not found, then add them both to the PATH environment variable on your PC.