The script adds a hospital countdown timer to Torn’s attack screen. When you open an attack against someone who is currently in hospital, it checks when their hospital time ends and displays a live countdown such as “Hospital Time Remaining: 04:37”. The countdown then runs locally every second until they become available.
Your Torn API key is entered through the script’s settings UI and saved locally using Tampermonkey storage. When you open a target, the script uses that key to authenticate a request to Torn’s API for that player's profile/status. It reads their hospital status and hospital end time, then uses that timestamp to create the countdown.
The API key is not used every second. Normally there's one API request when a new target is detected; after that, the countdown runs locally without additional API calls. The key isn't sent anywhere other than Torn's API by this script.
Overall, it provides a more convenient attack-screen UI, reduces unnecessary page switching and refreshing, and makes it easier to know precisely when a hospitalised target becomes available to attack.
Ideal for PDA/Mobile users (reduced window capability), still remains compatible with PC also.
Free to download:
https://greasyfork.org/en/scripts/597671-elek-s-alhosptimer