Fix /tfb help text garbled by chat escape characters

The pipe character starts a chat escape code, so "timers|highlight|sweeps"
printed as "timersighlight|sweeps". Reword without pipes. Bump to 0.9.5.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019W3rwutyoLNHxXPycYWSMc
This commit is contained in:
2026-11-01 00:28:48 +00:00
co-authored by Claude Sonnet 5.5
parent cbf459104b
commit 2a0ab55ece
4 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ SlashCmdList["TARGETFRAMEBUFF"] = function(message)
if (value == "off") then on = false;
elseif (value == "" ) then on = not TargetFrameBuff_IsTest();
elseif (value == "on" or buffs) then on = true;
else Print("Use /tfb test [on|off] or /tfb test <buffs> <debuffs>."); return; end
else Print("Use /tfb test [on or off] or /tfb test <buffs> <debuffs>."); return; end
local _, nb, nd = TargetFrameBuff_SetTest(on, tonumber(buffs), tonumber(debuffs));
Print("test auras: "..(on and ("on ("..nb.." buffs, "..nd.." debuffs). Needs a target; /tfb test turns it off.") or "off"));
elseif (command == "reset") then
@@ -139,7 +139,7 @@ SlashCmdList["TARGETFRAMEBUFF"] = function(message)
CreateOptions();
InterfaceOptionsFrame_OpenToCategory(panel);
else
Print("/tfb timers|highlight|sweeps [on|off], /tfb size 6-20, /tfb warning 0-30, /tfb test [buffs debuffs], /tfb reset");
Print("/tfb timers, highlight or sweeps [on or off], /tfb size 6-20, /tfb warning 0-30, /tfb test [buffs debuffs], /tfb reset");
return;
end
RefreshAuras();