Quote Originally Posted by Airget View Post
I'll direct you to the terms of service http://support.na.square-enix.com/ru...2&tag=users_en

2.1 Cheating and Botting. You may not create or use any unauthorized cheats, bots, automation software, hacks, mods or any other unauthorized software or hardware designed to modify the Game and gameplay. In addition, you may not take advantage of game system bugs and exploits during gameplay.

Automation software which are scripts to put your character on autopilot. So pretty much anything that takes away the human aspect of the player interaction of the character is illegal.
No, it's not illegal. Just violating ToS.