promotional bannermobile promotional banner

OneButtonPet

OneButtonPet is a TBC Classic addon that makes pet control a one-button toggle: /pettoggle attacks your target, press again to recall.

# OneButtonPet

OneButtonPet is a TBC Anniversary Classic addon that turns pet control into a single button.

Use `/pettoggle` in a macro or bind it directly in the Key Bindings menu. On a hostile living target, the first press sends your pet to attack. Press it again on that same target and your pet returns to follow. If your target is friendly, dead, or missing, it safely falls back to `PetFollow()`.

## Features

- One-button pet attack/follow toggle
- Slash command support with `/pettoggle`
- Direct keybind support through the AddOns key binding section
- Smart target-aware behavior for hostile, friendly, dead, and missing targets
- Short grace-window tracking so rapid double-taps still toggle reliably
- Lightweight implementation with no config UI required

## Example Macro

```text
#showtooltip
/pettoggle
```

## Why Use It

Normally, pet control macros split behavior across separate `/petattack` and `/petfollow` conditions. OneButtonPet wraps that into a single command so your pet behavior feels like a real toggle instead of a collection of edge-case macro lines.

## Included in This Repo

- `OneButtonPet.lua`
- `OneButtonPet.toc`
- `Bindings.xml`
- Local Lua test suite
- GitHub Actions CI
- Automatic version tagging from TOC
- Automated release packaging workflow

## Target Client

- World of Warcraft: TBC Anniversary Classic
- TOC Interface: `20504`

## Status

Initial release is published as `v1.0.0`.

The OneButtonPet Team

profile avatar
Owner
  • 7
    Projects
  • 1.2K
    Downloads

More from voc0derView all

  • PallyPowerAdvanced project image

    PallyPowerAdvanced

    • 13
    • Addons

    Smart role/spec-aware blessing assignments for PallyPower on WoW TBC Anniversary Classic.

    • 13
    • May 15, 2026
    • Addons
    • +1
  • OneButtonMount project image

    OneButtonMount

    • 441
    • Addons

    TBC Anniversary Classic addon for one-button random mounts with ground/flying pools, mouse-chord keybinds, and AQ40-only Qiraji crystal rules.

    • 441
    • May 14, 2026
    • Addons
  • LFRaider project image

    LFRaider

    • 145
    • Addons

    Warcraft Logs score signals in player tooltips, LFG rows, and /who results.

    • 145
    • May 13, 2026
    • Addons
  • Deathlapse project image

    Deathlapse

    • 66
    • Addons

    Deathlapse is a WoW TBC Anniversary Classic addon that shows a waterfall chart of the damage and healing you received in the last ~20 seconds before you died — automatically on death, with hover tooltips and a minimap button for manual access.

    • 66
    • May 8, 2026
    • Addons
    • +1
  • PallyPowerAdvanced project image

    PallyPowerAdvanced

    • 13
    • Addons

    Smart role/spec-aware blessing assignments for PallyPower on WoW TBC Anniversary Classic.

    • 13
    • May 15, 2026
    • Addons
    • +1
  • OneButtonMount project image

    OneButtonMount

    • 441
    • Addons

    TBC Anniversary Classic addon for one-button random mounts with ground/flying pools, mouse-chord keybinds, and AQ40-only Qiraji crystal rules.

    • 441
    • May 14, 2026
    • Addons
  • LFRaider project image

    LFRaider

    • 145
    • Addons

    Warcraft Logs score signals in player tooltips, LFG rows, and /who results.

    • 145
    • May 13, 2026
    • Addons
  • Deathlapse project image

    Deathlapse

    • 66
    • Addons

    Deathlapse is a WoW TBC Anniversary Classic addon that shows a waterfall chart of the damage and healing you received in the last ~20 seconds before you died — automatically on death, with hover tooltips and a minimap button for manual access.

    • 66
    • May 8, 2026
    • Addons
    • +1