userscript that plays a sound when stuff happens in torn. made it so i don't have to keep checking the page during wars.
still early, adding alerts as i go.
- enemy leaves hospital
- oc ready / oc status changes
- energy/nerve full
- drug/booster cooldown done
- landing from travel
get tampermonkey (or use torn pda on mobile), open tornotifier.user.js, hit raw, and install.
it'll ask for your api key the first time. a limited access key works. click the page once after it loads or your browser won't let it play sound.
click the tn button in the bottom left of torn to:
- set the enemy faction id to watch
- mute/unmute
- play a test sound
- reset your api key
your key stays in your browser and only gets sent to api.torn.com. nothing's stored or shared anywhere else. it only reads data and never does anything in game for you.
it checks the api every 30 sec so it doesn't hit the rate limit.
MIT