I've seen this suggested before, however - I honestly can't believe that this bot does not have this function. It's such a great bot - but I agree with @Funkgary that this would be SOOOO useful for a very wide variety of applications, despite what anyone says.
I realize there are some other work arounds, but once again - I agree is it not the same thing as a log out function or Xlog function... Just my 2 cents
I went out of the way to create my own program that will reconnect after disconnects. I have the .LUA write a variable to a text file upon logging out because of low stamina and my program reads that file. It avoids logging in around server save and makes several checks so it does not attempt to inject or log in after an update. This allows me to run 24/7 basically on any account with 3 or more characters. Whenever the settings are loaded for a script. I have the .LUA open the backpacks and then I make a bunch location checks with an isLocation() function that I created to find out where to move the walker to, avoiding the walker stuck. There are still a few bugs in it, but I have been running 3 accounts for almost 3 days straight now switching between characters with no problem. It is really nice for when my ISP disconnects or Tibia lags... Sadly, I had to rely on mouse clicks to control xenobot as it has some sort of protection against debugging tools.
I don't understand why Xeno does not have a logout/reconnect feature built in. I have heard it was unsafe but never heard the explanation as to why.