You're probably right, my coding ability isn't great lol the function works and the choice of how long the timer also works, you may be right about it not resetting and starting again properly though, not sure where you're getting the two different mains from though?Quote:
Think this won't work. As I understand your checkstuck() will only interupt the Mainfarm(1) with another Mainfarm(2). After this Mainfarm(2) is done it will try to continue the mainfarm(1) where it was interupted which will not work because youre at the outpost.
As i know it is not that easy in autoit to end a function with another function. The checkstuck() funktion does not abort the mainfarm(1) in this case, only "pauses" it.
Correct me if i'm wrong