The macro searches for target - attack target - switch target to the next mob attack mob ( hataki can be changed(magic))
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