Well..
You know when an "idle" event is triggered, it follows a specific pattern of the bot's code.
If we can make something so it check's if any code is being used in the last 10-20 minutes.
I like this a lot, in addition to make it an option like a checkbox. It would see if the bot is currently performing any actions. Now there would be a few flaws, but I believe that is what we could test a little and make it optional
Like for example, You would be chopping trees right? For some reason the bot isn't detecting the trees after a while, but you're still logged in. The probable effect would be seeing if the bot is currently running like code is literally still running. If it detects an absence of activity then I feel like it can log you off.
Okay, Here is an improvement, It can be like timer you set for when you want it to check if your bot is still running. For instance, No line of code has been parsed for 5 minutes, Wait another 10 minutes for activity. Terminate if no activity. REMEMBER most of the bots are pretty inactive and that's why it should be optional too.
This I feel can be improved on, I just need more time to flush out the idea. This can be like a mind project for a while
Test A // Looking for bot running a script
Activity?
If A running
logoff = false
If No
Wait C Minutes //C = Variable input via slide
If A running
logoff = false
If A Fails // Meaning the time set has expired no code has been ran
logoff=true