He's not doing anything wrong,
See this extract from the License.txt you can find in your faldon Directory
c. Illusory reserves the right to terminate your access priviledges to the Service in the event of one or more of the following: cheating, hacking, cracking, using 'macro' programs while away from keyboard, denial of service attacks, spamming, item duplication, harassment of other users, offensive speech, or advertising.
The fact that he is doing this invisible changes nothing, he warped you around this can be seen from your main game window regardless of what tab of your UI you have open
You will notice that the license.txt extract above does not mention time frame, it states simply while away from keyboard, i have marked the relevant section in underlined Italics for you
this means that any amount of time away from the keyboard be it 10 seconds or 10 hours is grounds for Termination of Service, the reason you get 5 minutes, is because it is difficult to prove that you are in fact afk and not a horribly slow hunt and peck typer with any less time frame
Going off of that agreement he could Ban you for AFK Macroing
You where afk macroing and got caught, serve your time, quit whining and learn from it