From e38db47881161d14a0a8fd1c62ecaf80c60f5ed7 Mon Sep 17 00:00:00 2001 From: KyrosKrane Date: Tue, 22 May 2018 13:35:04 -0500 Subject: [PATCH] Added feedback for toggling debugging. --- Broker_RaidMakeup.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Broker_RaidMakeup.lua b/Broker_RaidMakeup.lua index d6d3d2b..84df34b 100644 --- a/Broker_RaidMakeup.lua +++ b/Broker_RaidMakeup.lua @@ -76,6 +76,11 @@ function BRM:DebugPrint(...) end end -- BRM:DebugPrint +-- Print regular output to the chat frame. +function BRM:ChatPrint(...) + print ("|cff" .. "0066ff" .. "BRM:|r", ...) +end -- BRM:DebugPrint + --######################################### --# Constants @@ -109,9 +114,11 @@ SlashCmdList.BRM = function (...) BRM:HandleCommandLine(...) end function BRM:HandleCommandLine() BRM.DebugMode = not BRM.DebugMode + BRM:ChatPrint("Printing debug statements is now " .. BRM.DebugMode and "on." or "off.") end --@end-alpha@ + --######################################### --# Variables for tracking raid members --######################################### -- 1.7.9.5