I was reading this topic yesterday and discovered that most of the requests were not added. Therefore, I am making my debut here to share with you the updated @autoattack function.
Added Commands:
@autoattack - display all @autoattack commands.
@autoattack on/off
@autoattack list
@autoattack +monsterID
@autoattack -monsterID
#Edit
If you use [ @autoattack on ] without adding monster targets will attack all the monsters (DEFAULT setting.)
Auto-attack can be toggled on or off using the @autoattack on/off command.
Specific mobs can be added or removed from the target list using @autoattack +<mobID> or @autoattack -<mobID> respectively.
Since I'm using the latest version, applying the patch shouldn't be a problem.(I also removed the struct warnings from the map_session_data).
Attached(Updated):
atcommand[remix]