Not to mention, if you're already logged in and started the bot, you'd have to have watched it manually log you out.
And the chances of someone writing that script, sneaking it past admins, and lying in wait knowing the exact moment you'd use that bot and be logged out..
.. no one stole...