Greasy Fork is available in English.
Select flight destination/type and store to session for automated flights
A Tampermonkey userscript for Torn City that helps you med out of hospital and fly to a destination in one smooth flow.
The script adds a small draggable widget to the page with two stages:
When you are in hospital, the widget lets you use a medical item to get out. You pick your destination and flight type here, and they are saved for the next page.
The script checks your hospital timer via the Torn API and automatically picks the right item:
| Hospital time remaining | Item used |
|---|---|
| Less than 20 minutes | Small First Aid Kit |
| 20 – 39 minutes | First Aid Kit |
| 40 – 69 minutes | Morphine |
| 70+ minutes | Blood Bag (your blood type) |
If you have more than 90 minutes left the button shows Med Out 2x as a reminder that one item won't be enough.
When you are abroad, the widget automatically switches to show only a Fly Home button. This button is only visible on pages where the game's own Fly Home button is normally shown — the script does not add a Fly Home option on pages where you wouldn't otherwise have one. Unlike the game's native button, clicking Fly Home in the widget does not change the page UI or lock you out of clicking again, so you can retry if needed without refreshing.
Once you are out of hospital and on the travel page, the widget shows a Fly button that books your flight using the destination and flight type you saved in stage 1.
Nothing happens unless you click a button. Every action — using a medical item or booking a flight — requires you to click the button yourself, the same way you would with TornTools or any other Torn helper script.
The script does not run any actions in the background, does not use items automatically, and does not book flights without your input.
Medical items are only used on pages where you can already use them yourself (item.php and factions.php). The script sends the exact same request the game would send when you click "Use" on an item — it just saves you from having to scroll through your inventory to find the right one.
The philosophy is the same as TornTools: one click to use an item, one click to fly. The widget is a shortcut, not automation. You are always in control of when something happens.
item.php) and enter your Torn API key in the widgetYour API key, blood type, destination, and flight type are saved in sessionStorage — they are never sent anywhere except Torn's own API.
The script requests no special Tampermonkey permissions (@grant none). It only runs on:
https://www.torn.com/item.php*https://www.torn.com/factions.php*https://www.torn.com/page.php?sid=travel*