This script is useful to several things in the game for those who don't like to get physically tired while playing, it is of the "Key-Bot" type, to use it you need to install "AutoHotKey", in totally offline gameplay there is nothing to prohibit this apparently, more information on the link:
https://www.autohotkey.com/boards/viewtopic.php?f=19&t=83394