From 0e1417476492b6c8ca49b2d8adb26d03935fd56e Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 20 Mar 2026 09:23:21 -0700 Subject: [PATCH] feat: expand chat auto-complete with 30+ missing slash commands Many working slash commands were missing from the chat auto-complete suggestions: /equipset, /focus, /clearfocus, /cleartarget, /inspect, /played, /screenshot, /pvp, /duel, /threat, /unstuck, /logout, /loc, /friend, /ignore, /unignore, /ginvite, /mark, /raidinfo, /helm, /forfeit, /kneel, /assist, /castsequence, /stopmacro, /help, and more. Reorganized alphabetically for maintainability. --- src/ui/game_screen.cpp | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index c356fdef..20dee88c 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -2614,23 +2614,28 @@ void GameScreen::renderChatWindow(game::GameHandler& gameHandler) { for (auto& ch : lowerWord) ch = static_cast(std::tolower(static_cast(ch))); static const std::vector kCmds = { - "/afk", "/away", "/cancelaura", "/cancelform", "/cancelshapeshift", - "/cast", "/chathelp", "/clear", - "/dance", "/do", "/dnd", "/e", "/emote", - "/cl", "/combatlog", "/dismount", "/equip", "/follow", - "/g", "/guild", "/guildinfo", - "/gmticket", "/grouploot", "/i", "/instance", - "/invite", "/j", "/join", "/kick", - "/l", "/leave", "/local", "/macrohelp", "/me", + "/afk", "/assist", "/away", + "/cancelaura", "/cancelform", "/cancelshapeshift", + "/cast", "/castsequence", "/chathelp", "/clear", "/clearfocus", "/cleartarget", + "/combatlog", "/dance", "/dismount", "/dnd", "/do", "/duel", + "/e", "/emote", "/equip", "/equipset", + "/focus", "/follow", "/forfeit", "/friend", + "/g", "/ginvite", "/gmticket", "/grouploot", "/guild", "/guildinfo", + "/helm", "/help", + "/i", "/ignore", "/inspect", "/instance", "/invite", + "/j", "/join", "/kick", "/kneel", + "/l", "/leave", "/loc", "/local", "/logout", + "/macrohelp", "/mark", "/me", "/p", "/party", "/petaggressive", "/petattack", "/petdefensive", "/petdismiss", "/petfollow", "/pethalt", "/petpassive", "/petstay", - "/r", "/raid", - "/raidwarning", "/random", "/reply", "/roll", - "/s", "/say", "/setloot", "/shout", "/sit", "/stand", - "/startattack", "/stopattack", "/stopfollow", "/stopcasting", - "/t", "/target", "/time", - "/trade", "/uninvite", "/use", "/w", "/whisper", - "/who", "/wts", "/wtb", "/y", "/yell", "/zone" + "/played", "/pvp", + "/r", "/raid", "/raidinfo", "/raidwarning", "/random", "/reply", "/roll", + "/s", "/say", "/screenshot", "/setloot", "/shout", "/sit", "/stand", + "/startattack", "/stopattack", "/stopcasting", "/stopfollow", "/stopmacro", + "/t", "/target", "/threat", "/time", "/trade", + "/unignore", "/uninvite", "/unstuck", "/use", + "/w", "/whisper", "/who", "/wts", "/wtb", + "/y", "/yell", "/zone" }; // New session if prefix changed