1. **What is AutoMacro, and what is this plugin used for?**
In the early days of World of Warcraft (WOW), Blizzard provided custom UI scripting and macro functionality for players. Players could simplify various operations by writing scripts and macros, achieving highly intelligent effects. For example, there were plugins that could automatically mount, follow, and attack in Alterac Valley. To prevent excessive intelligence, Blizzard restricted the use of scripts and macros after version 2.0 of WOW. AutoMacro takes advantage of imperfections in Blizzard's UI code to restore intelligent functionality to macros.
2. **How does AutoMacro work?**
AutoMacro automatically detects and refuses to execute skills that cannot be cast due to reasons such as distance, rage, or status. For example:
```
/cast Mind Blast
/cast Smite
```
The function of these two lines is that if "Mind Blast" is on cooldown, then "Smite" will be used instead. This type of macro did not work after WOW 2.0, but with AutoMacro installed, it becomes functional again. Skills with cooldowns (CD) should be placed at the front to prioritize their use, while regular skills without cooldowns should be placed at the back.