I need an action that will exit tibia when my player is idle for more than 5 minutes.

Thanks in advance