Skip to content

/autodestroy

Script-provided

Registered by autodestroy. Start it with /lua run autodestroy.

Syntax

/autodestroy [status] | on | off | log on|off

Description

Auto-confirms the item "Destroy" popup so item-destroy prompts don't stall a loot or inventory-cleanup loop. It fires only on a genuine destroy confirmation.

This presses a destructive, irreversible button

It confirms item destruction automatically. If you are at all unsure, keep it off. /autodestroy off.

Subcommands

Subcommand What
status Print current state. (Bare /autodestroy does the same.)
on / off Enable / disable auto-confirming.
log on\|off Toggle verbose logging of what it saw and did.

What it will and won't press

It fires only on a real item-destroy confirmation — the prompt names "destroy"/"permanently", or one of the popup's buttons is literally labelled Destroy. Every other HUD.Choice popup is vetoed:

  • Rez offers, trades, guild/group invites, and real-money Station Cash prompts all carry no destroy wording and no Destroy button, so they are left alone.
  • An unreadable prompt is a retry, never a guess — it will sooner fail to destroy than destroy the wrong thing.

Examples

/lua run autodestroy
/autodestroy on
/autodestroy log on      # watch what it matches
/autodestroy off

See also

  • /autoloot — the loot loop this smooths out.
  • /autorez — another HUD.Choice-driven auto-confirm.