Say My Name

Plays a sound and highlights chat when your name or keyword is mentioned. Add/remove custom keywords. UI via /smn. Works in guild, raid, say, and party chats. Perfect for raid leaders, healers, or social players.

File Details

SayMyName_17-04-26.zip

  • R
  • Apr 17, 2026
  • 37.91 KB
  • 210
  • 12.0.5+4
  • Classic + 3

File Name

SayMyName_17-04-26.zip

Supported Versions

  • 12.0.5
  • 12.0.1
  • 5.5.3
  • 2.5.5
  • 1.15.8
[2.9] - 2026-04-17

Changed
- Add-on metadata — Version is read with `C_AddOns.GetAddOnMetadata` when the API exists, with a fallback to `GetAddOnMetadata` on older clients.
- Language hint — After changing the language in settings, the chat message uses the active locale string instead of hard-coded English.
- Auto keyword for character name — The logic runs on `PLAYER_LOGIN` and `PLAYER_ENTERING_WORLD` until `UnitName("player")` is available, then stops for the rest of the session (no repeated work on every zone load).

Fixed
- SavedVariables edge case — If `SayMyNameDB.keywords` was missing from saved data, it is restored as an empty table on login; `PLAYER_LOGOUT` no longer assumes `keywords` is always present.
- Alert sound — Invalid or missing sound IDs fall back to the configured default (then raid warning), and `PlaySound` is wrapped so a bad kit ID cannot break the chat filter pipeline.
- Keyword “Test” button — Preview sound reads the current row from `SayMyNameDB` so it stays in sync if the stored entry changes without rebuilding the row.