promotional bannermobile promotional banner

Whisper Auto

Automatically replies to whispers when you're AFK, in a dungeon, raid, PvP, or in queue. Notifies players when you return.

File Details

WhisperAuto_17-03-26.zip

  • R
  • Mar 17, 2026
  • 19.71 KB
  • 98
  • 12.0.5+4
  • Classic + 3

File Name

WhisperAuto_17-03-26.zip

Supported Versions

  • 12.0.5
  • 12.0.1
  • 5.5.3
  • 2.5.5
  • 1.15.8
### Fixed
- **Critical:** Removed duplicate event handlers that overwrote the main logic. The second `OnEvent` and `OnUpdate` scripts were replacing the correct implementation, which broke:
  - Manual reply detection (`CHAT_MSG_WHISPER_INFORM`, `CHAT_MSG_BN_WHISPER_INFORM`) — players were no longer removed from the pending list when you replied manually
  - Battle.net whisper handling — BNet whispers were passed incorrectly to `SendAutoReply`
- **Critical:** Fixed `/wa clear` and `/wa list` commands — they were using undefined variables `pendingWhispers` and `pendingGuildMentions` instead of `WhisperAutoCharDB`
- **Critical:** Fixed undefined `wasInActivity` variable (removed with duplicate code block)
- Fixed player name comparison for cross-realm — now correctly ignores own whispers when sender is `Name-Realm` format
- Fixed `CHAT_MSG_WHISPER_INFORM` — correctly removes players from pending list when replying manually (supports both `Name` and `Name-Realm` formats)

### Changed
- Replaced `OnUpdate` with `C_Timer.NewTicker` for status checks — more efficient, less CPU usage
- Added fallback to `OnUpdate` for WoW versions without `C_Timer` (e.g. Classic 1.15)
- Cooldown (`lastWhisperTime`) now persists across `/reload` — stored in `WhisperAutoCharDB`
- Consolidated slash commands — removed duplicate definitions
- Improved locale auto-detection — `ukUA` and `ruRU` clients now default to Ukrainian interface

### Technical
- Added `lastWhisperTime` to `WhisperAutoCharDB` for SavedVariables persistence
- Simplified locale detection logic in `WhisperAutoLocals.lua`