When switching from clientless to client, dead char using the return to city teleport

when using the bot clientless and char lying dead on the ground. If you need client then you should return town after use start client/using teleport.

what I want is that when I press “show client”, “client” starts and then the dead char uses the dead options menu of return to the city.