This macro holds E for the time that is needed to mine in grand RP. It holds the E key for 6 seconds which is enought to start mining and then it waits 10 seconds which is enough time to wait for the current mine animation to stop(7 seconds) and then it waits 3 seconds so admins do not see it obviously.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program