on topic, as Ayluin said no matter what you do if it is released public then it will be countered very easily.
Kind of off topic, why do people use autoclickers or even that mod that basically plays the game for you?
Maybe people want gain without actual effort, maybe they want to feel like they are better than someone else, who actually did put in the effort?
What reward is there for people who use macro/bot?
they gain skill while they do other stuff?
Is that a game issue that people feel they need to gain skill without putting in effort?
Why don't these people play on a 100x server where they can hit 70 skill in minutes?
Many questions which I for one don't know the answers to and it is probably different for each person any way.
End of the day it is pretty much impossible to stop, I would assume most mouse macro things are basically doing mouse clicks which is what a person would be doing, so determining if it is a person or a macro would come down to the time between clicks and so on and not the actual input itself. As for movement, as a player I could stand still for an hour at a forge, I keep everything close to hand and not have to actually move, I have 4-5 things open on screen and just move stuff around when I need to, so just detecting movement wouldn't work anyway.
I think it used to be part of WO or maybe it still is, fatigue, where if you play for to long then you gain no skill, this approach can work of course but at the same time a player who does actually play for a long period of time would be negatively impacted.
Maybe another approach would be a skill gain cap per day, can only gain X skill in each skill a day.
I am sure there are many ways to approach this issue but detecting if someone is using a macro would only work part of the time, it would be something a GM would need to go visit the player and basically watch them to try to determine and then it still isn't actual proof anyway. I recall many years ago a GM asking me about someone doing something weird and they couldn't work out how the player was moving stuff around and crafting and such without an event message appearing for the moving. That is something you would only know if you played 2 chars at once, even though everything is written in event window for yourself it doesn't broadcast everything to other players around you.
Well that is just my 5 cents worth anyway.