> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theimmortals.pw/llms.txt
> Use this file to discover all available pages before exploring further.

# Targets and raiding

> Find enemies in range, judge raid value, and compare nations

Use these commands to find who to hit and how good the hit is. All of them are open to members.

## Find targets in range

Run one of:

* `/targets all` for every in-range target, lowest score first.
* `/targets raid` for targets ranked by loot potential.
* `/targets high_infra` for high-infrastructure targets. Good for missiles and nukes.
* `/targets inactive` for the longest-inactive targets first.

All four take `alliances_or_coalitions`: a comma-separated list of alliance IDs or saved coalition names to search.

Optional filters:

| Filter                                                   | What it does                                       |
| -------------------------------------------------------- | -------------------------------------------------- |
| `no_beige`                                               | Exclude nations on beige.                          |
| `leaving_beige`                                          | Only nations leaving beige within 3 turns.         |
| `open_slots`                                             | Exclude nations with full defensive slots.         |
| `is_overextending`                                       | Only nations fighting 3 or more offensive wars.    |
| `low_soldiers`, `low_tanks`, `low_aircraft`, `low_ships` | Only targets weak in that unit.                    |
| `no_iron_dome`, `no_vds`                                 | Exclude nations with that defense project.         |
| `override_score`                                         | Search from a different score instead of your own. |

The bot excludes vacation-mode nations. You need a verified nation unless you set `override_score`.

## Judge raid value

Run `/last-loot nation_id_or_link:<nation>`. The bot shows how much the nation was looted for in its last lost war, with an itemized breakdown, its average infrastructure, and its declare range. The reply has a **Declare War** link and a **Join War Channel** button.

## Find a counter

Run `/counter` with the enemy's `nation_id_or_link` and `alliances_or_coalitions` to search. The bot ranks allied nations that can hit the target, best matchup first. Verified members show with their Discord mention so you can ping them.

## Look up a nation

Run `/nation nation_id_or_link:<nation>` for a full nation card: score, cities, military, wars, and activity.

## Compare city tiers

Run `/tiergraph` to chart city-count distributions of alliance groups against each other.

* `groups`: use the format `NAME=AA_ID_1,AA_ID_2 NAME2=AA_ID_3`. Coalition names also work.
* `graph_type`: line, bar, radar, doughnut, pie, polar area, bubble, or scatter.

## Simulate a war

* `/warsimulate active_war war_id_or_link:<war> attacker_defender:<side>` simulates an existing war.
* `/warsimulate hypothetical_war attacker_id_or_link:<nation> defender_id_or_link:<nation>` simulates a matchup.

The bot runs many simulations per battle type. It shows an overall war score and the chance of each outcome for airstrikes, ground battles, and naval battles.
