Good macro, archery and anti AFK, you can use an infinite number. I have set up for themselves, you can customize as you see fit.
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