Torn War Helper (highlights and chain timers)

Eagger
2025-04-08T18:05:49Z

Enhances Torn faction wars with member status highlighting, chain timer overlay, and hospital alerts. Includes built-in settings panel for better user experience.

# Torn War Helper

Enhances Torn faction wars with status highlighting and chain timers.

## Features

### Status Highlighting
- **Online members**: Green background
- **Idle members**: Amber background
- **Offline members**: Gray background (optional)
- **Traveling/Abroad members**: Baby blue background
- **Hospital change**: Red 2-second flash when player leaves hospital

When traveling/abroad highlighting is enabled, it takes priority over online/idle for those rows. When disabled, traveling players fall back to their online/idle/offline highlight as normal.

### Chain Timer
- Updates every 200ms
- **Black background**: Normal state (>1 minute)
- **Orange + pulse**: 0:59-0:31 remaining
- **Red + rapid pulse**: 0:30-0:00 remaining
- **Navy blue**: Chain cooldown
- **Green + flash**: 4:55-5:00 or when chain resets
- Click the timer box to cycle position: right → center → left

### Settings Panel
- Click the gear icon (⚙) in the faction page title block to open settings
- Toggle highlighting for online, idle, offline, and traveling/abroad members
- Set refresh rates, chain timer position, and other options
- Settings save between sessions (page reloads on save)

## Installation
1. Install Tampermonkey or similar userscript manager
2. Add script to manager
3. Visit Torn faction pages